Blog

  • Useful dApps on the Terra Ecosystem

    As you may know by now, I’m all into DeFi, mostly on Terra. I’m gonna share with you the useful dApps, aka decentralized protocols that I use on Terra. There are so many dapps now vs last year. At the beginning of 2021 and the launch of COL-5 (Terra’s biggest mainnet upgrade) earlier this year, the number of users and dapps in the ecosystem went to an all time high.

    People flocked into Terra and it did jump from sub $1 to around $50-ish as of today while I’m writing this blog post.

    I’m deep in the Terra ecosystem where 99% of my assets are now on Terra, including NFTs.

    Here are some of the dapps I use the most everyday, on Terra.

    1. Anchor Protocol (app.anchorprotocol.com) – the second, and most successful dapp on Terra with the high TVL of almost 6 billion dollars. Yep, it just started this year and it has that much total value locked. This is where I borrow UST to buy more LUNA using my bonded LUNA. You can also save your stabelcoins here and earn a fixed 20% interest every year. So far, it’s the best savings protocol in the entire crypto industry.

    2. Nexus Protocol (terra.nexusprotocol.app) – the recently launched dapp on Terra. This is where I provide liquidy on nLUNA-Psi and Psi-UST assets. I also stake them and earn a steady drip of Psi daily. Psi is the governance token of Nexus Protocol and it’s currenty valued at 30 cents each. If you lock your bLUNA in here, you get nLUNA in in your wallet and it maximizes yield just like you have a maxed out TVL on Anchor. You can also stake more ANC in Anchor governance to get more Psi in your wallet!

    3. Coinhall.org – A useful tool to track assets on the Terra ecosystem. It’s basically my homepage now. Another useful one is finder.extraterrestrial.money. That’s my second favorite now as I love the UI on Coinhall better.

    4. Terra Station – Of course, because without this, I won’t be able to connect to all Terra dapps. This should be #1 in my list.

    5. Osmosis Zone (app.osmosis.zone) – Now you can trade Terra assets in here due to the fact that Terra is recently integrated with the IBC and assets in Terra specially LUNA and UST are now listed in Osmosis. Osmosis is a decentralized AMM in the Cosmos, with its own chain, called… you guessed it! Osmosis! You can provide liquidity here and stake your LP to make more moolahs. It’s like an automated money making machine. My current pools here are JUNO-ATOM, JUNO-OSMO. This dapps is not really within the Terra ecosystem, but I just love to share it with you guys.

    That’s all for now!

  • I’m super bullish on LUNA, FTM and SAITO

    Lately, I’ve been heavily involved in the cryptocurrency space and I invested 100% of my saving into crypto, specially LUNA and FTM. If you filter it on Coicodex and see what coins has the highest gains since last year these two bad boys are the 4th and 5th with highest ROI.

    I missed out on exponential gains with those meme and game coins, but I didn’t regret. Already made 17 million and 16 million percent on my two heavy bags. I bought them because of fundamentals and not just hype.

    I won’t be describing Terra LUNA and Fantom in this blog post as there are many resources you can find online about those two. Just DYOR, ok?

    Next investment that I’m looking into is SAITO. It’s something new and there are only a few resources online that you can find about it.

    It’s best to follow them on Twitter for the latest updates about this all-new L1 blockchain that hasn’t fully launched yet. It’s meant to solve something that you didn’t think it’s a decentralization problem, but it is. Once again, better to DYOR and be early on this one.

    I predict by Q2 of 2022, the SAITO token will be above $1. This is not a financial advise, but I’m just sharing my alpha. LOL.

    Enjoy your crypto journey as I’m enjoying mine. See you on the moon anon!

  • So many WP updates, so little time!

    Just found out that there’s a new version of WordPress! Since I haven’t upgraded my blog for a long time, I’m upgrading it now. Last version since I last logged in was 5.7.3. Now I just jumped to 5.8.1. What’s new here? I really don’t know. I guess there’s something new with the text editor but I’ve been using the Classic editor plugin and I don’t plans in switching for the next 10 years or so.

    What kept me busy during the last few months? Aside from my work here in Singapore, I’ve been busy with trading cryptocurrencies. I’m into DeFi and NFTs too!

    I added a new category here in my blog called “Cryptocurrency” and will be updating this more often as I have a lot to share on my crypto journey! Stay tuned!

  • WooCommerce: Add a product to cart automatically based on another product’s variation ID

    If you want to add a product to your cart based on another product’s ID or variation or a configurable product, then this code snippet might help. Was searching how to do this until I found one in Stack Overflow. The function is based on the first code example on this website post:
    https://www.tychesoftwares.com/how-to-automatically-add-a-product-to-your-woocommerce-cart-in-3-different-scenarios/

    Basically, that code adds a specific product to cart based on the item’s category. So If added a product from category XYZ, then another item, a free one or not, will also be added to your woocommerce cart automatically.

    But what if you want to add a product based on the options selected on a configurable product / variable product. Then the code below will help do exactly what you need

    function bv_atc() {
    if ( sizeof( WC()->cart->get_cart() ) > 0 ) {
    foreach( WC()->cart->get_cart() as $cart_item_key => $values ) {
    $a = array(10,20,30);
    $b = array(40,50,60);

    if( in_array( $values['variation_id'], $a ) ) {
    WC()->cart->add_to_cart(1);
    } else if ( in_array( $values['variation_id'], $b ) ) {
    WC()->cart->add_to_cart(2);
    } else {
    //if you want to do something else like adding a random item, do it here.
    }
    }
    }
    add_action( 'woocommerce_add_to_cart', 'bv_atc', 10, 2 );

    Just add the code snippet to your functions.php and replace the values in the array. In my array I have two sets of items. Each item will add a different product to cart.

    Just add more if conditions if you have other items that you want to be added to your cart based on the selected variations of a specific product.

    Credits to Shaikh at Stackoverflow:
    https://stackoverflow.com/questions/68077784/check-if-this-variation-id-exists-in-cart-then-add-another-item-to-cart

  • Divi Blog Grid breaks when Minify JavaScript Files is enabled

    If you’ve noticed that your Divi blog grid breaks after you enable JS minifaction using any plugin, then you just need to exclude the custom.js from /themes/Divi/js/custom.js to be minified. This will fix the issue.

    I haven’t checked what’s in this Javascript file yet that doesn’t want to be minified, but that fixes the problem anyway.

    I encountered this first when I enabled Minify JavaScript Files using SG Optimizer plugin. Not sure if it’s the same issue with other minification plugins, but I suppose it is.

    For other Divi issues or question you may have, please don’t hesitate to leave a comment below. I will gladly help you out.

  • Better late than never! Just upgraded to WP 5.7!

    Yep, I do manual updates and I recently updated this WP blog to the latest version, which is 5.7. On a user’s perspective, nothing seems to be new as I’m using the classic editor. I hate the Gutenberg editor and they have a new one now, it seems like Gutenberg, but an improved one.

    Automattic also said that the dashboard has a simplier color palette. But I didn’t notice any significant difference. Only the button seems to be using a lighter blue color compared to the blue color before.

    As you can see in the screenshot below, nothing’s really new.

    Looking forward for more WordPress updates in the future. For now, I’ll still be using the classic editor. It’s simple, it’s clean, and it’s classic. No other drag and drop gimmicks, just plain old text and plain old code. You can actually do whatever you want with no code bloat vs dnd page/post editors.

  • Error Reference: invalid certificate csr (ZeroSSL)

    If you’re renewing your SSL and selected autogenerate CSR and it’s always invalid, then you’re just encountering a temporary error.

    I always get this “An error occurred. Please try again or contact support. (Error Reference: invalid certificate csr)” when renewing my Let’s Encrypt Certificate via ZeroSSL.

    If you Paste your own generated CSR or manually generate CSR, it still doesn’t work.

    Only issue here is that it’s a temporary error.

    Just try it again later. Retried it after an hour via ZeroSSL dashboard, then it’s now working. Didn’t do anything to make it work. Just be patient and retry later.

  • My EasyTrip sign-up doesn’t work anymore

    Do not bother signing up at https://mptc.outsystemsenterprise.com/MyEasytrip/Registration because it doesn’t work anymore and nobody will answer your questions via e-mail.

    Just reload your EasyTrip account at https://easytrip.reload.ninja/. Easy trip ain’t gonna give you an easy trip.

    You will always get an Account details didn’t match message when you attempt to sign up at EasyTrip.ph. What a useless website.