Announcing BSC Bridge (2.0) | Instant BNB <> HIVE Conversion! | New Frontend

in LeoFinance4 years ago

image.png


After seeing it in the comments so many times in my previous announcement, I started working on an upgraded version of the BSC Bridge (also, thanks for the attention in the first 48 hours. Over 300 HIVE were transacted!) and now, I would like to open it up to more users. Before you use BSC Bridge, please do not forget that it is currently in beta mode, so delays in transactions may happen. (but are usually 3 to 6 seconds long)

First of all, there is now a frontend, a UI. To make it easier for everyone to use the site for both ways of conversion, either from BNB to HIVE or from HIVE to BNB.

image.png

It is integrated with both Hive Keychain and Metamask (or other Web3 wallets) and will use it whenever it is needed. All you have to do is put the correct information.

Some explanations

Why is there a big METAMASK USERS warning?

The way the backend works is that there is a feature on the BSC (and ETH) blockchain to add data to the transactions. These data are used for things such as smart contracts, whenever you harvest your CUB yield, deposit and withdraw LP tokens etc.

BSC Bridge, whenever you use the frontend, asks you for two things. Your username (on Hive) and the amount of BNB you are going to send.

The amount of BNB you're going to send is pretty straightforward, it both helps you see an estimated amount of HIVE you are going to receive and how much is currently in @bscbridge account. (Please note that, if the amount of BNB you sent is higher than what the bridge can afford, you will be refunded automatically. (minus gas fees for BSC)

Anyways, back to the explanation. When you put in your username there, the script automatically converts your username to a hex value and adds it as data to the generated transaction. This is done so that the backend can figure out who to send the HIVE to since there is no easy way of adding memos to BSC transactions.

However, there is one issue. It appears so that MetaMask has a bug that if you try to send a transaction with data in it and the address you are trying to send to (BSCBridge) is not a Smart Contract it automatically nulls the gas limit.

So MetaMask users will have to manually type the gas limit of 40000 there before sending. (There is no guarantee that gas limit will be used 100%, the reason for giving a number as high as 40000 is because the longer the data is (the longer your username is) the bigger the transaction, therefore, bigger fee.

Can you guarantee that this will work all the time?

Noyes. I've been testing it on BSC testnet rigorously and there have been no problems (after I fixed whatever problem there were) so you should be safe. There's quite a lot of checks as to whether or not the transaction has succeeded, and if it doesn't, it will automatically refund. Whether if it's on HIVE or BSC.

Why are the amounts so low?

More volume/more usage = higher max limits since the wallets will be having more tokens to handle bigger transactions.

Isn't this technically a Liquidity Pool?

Yes, yes it is. I am pretty much running an exchange here.

Can I trust you?

I don't know, can you? Not my call to make.

I have a suggestion!

Feel free to let me know in the comments below, alternatively, you can find me on FRIDAY, HIVE and LeoFinance Discord.

BEP20 wen?
soon™

"Sounds great, how can I use it?"

Click here to go to BSCBridge.

Posted Using LeoFinance Beta

Sort:  

Congratulations. I was reading yesterday when the first post was being discussed and commented on and most of the questions were about whether it would be possible to transfer from BNC to Hive. And lo and behold, one day has passed and the possibility is already here.
One more thing I want to know - is the first version of the bridge still working, i.e. to send a Hive to @bscbridge with a memo - my BSC account adress ?

Yup! You do not need to use the frontend, I put Hive > BNB conversion there just for simplicity, especially for the fact that you can see how much BNB the bridge has, so less chance of being refunded because the bridge can't cover your transaction.

However, if you'd like, you can still send it manually. Will work just fine.

Thank you for the quick answer :)

You are killing it @deathwing!!! The best exchange facility ever. ✌✌

Posted Using LeoFinance Beta

I enjoyed it. Thank you very much.

Quick review on it.

Well done. Rebloged, promoted.

toruk_washere_new3leo.jpg

toruk_washere_bonus.jpg

More info why you see this.

Posted Using LeoFinance Beta

Very impressive.

The BNB ---> Hive feature came together rapidly. Congratulations and thanks for doing this.

It is a great piece added to the Hive ecosystem.

Posted Using LeoFinance Beta

DW's a smart man.

Huge credit goes to you as well @rishi556 for bugging DW for BNB lol. Otherwise we might not have such a service. Stars aligned perfectly 😂

Posted Using LeoFinance Beta


Your post was promoted by @taskmaster4450le

Nice, so many new ways to get on and off BSC. Love it.

Thanks

Posted Using LeoFinance Beta

I think its a great addition for those playing around with CUB since there is a CUB/BNB pool. I think this is also much easier for the newer people to convert HIVE if they need to.

Posted Using LeoFinance Beta

Bookmarking this for when my next set of liquid hive comes in. looking forward to using this to purchase some Rune

Posted Using LeoFinance Beta

Now do ETH.

I believe this is going to help a lot of people. The community is very grateful for yet another great tool.

Posted Using LeoFinance Beta

Big things happening to Hive blockchain. It can only get better. So, BNB holders would find a seamless way to start buying HIVE.

Posted Using LeoFinance Beta

Such a cool thing, and I really had a blast when testing.
MY question is is there a possibility to provide liquidity and get a small portion of the fees?
:)

Posted Using LeoFinance Beta

Hmm... currently, not really. But really interesting idea, I'll look into it.

this is more and more becoming deathwing.finance

Hahahaha, I may just end up buying the domain. I don't know :P

Do it. When DW coin?

This is awesome would love to see this added to peakdwallet for easy swap in and out like they had with swapsteem

Would also be cool if this was hooked up with cub as an option too!

Posted Using LeoFinance Beta

Wow, that was quick as fuck! no more sending hive to deepcrypto and then exchanging for BNB and then sending to the binance wallet...

Awesome, it was fast action. I'm impressed. Thanks

Posted Using LeoFinance Beta

Great!!! more good news for those of us who always use this Wallet...Thanks! @deathwing

Posted Using LeoFinance Beta

Nice one DW, works a treat 👍👏😎

Posted Using LeoFinance Beta

Just used it! Forgot that I needed to do the whole stupid coinbase, wait 6 days, transfer, la la la to buy some hive. and I needed to send some hive to someone TODAY. arggggh. i was shit out of luck until this post!!!

had some bnb - in a minute, I got some hive!
hooray!!! thank you for sending me this post @penderis
thank you for making this bridge @deathwing!!!!!

Posted Using LeoFinance Beta

Thank you so much for creating this outstanding utility. It simplifies things a great deal!

Posted Using LeoFinance Beta

Excellent, a great service now has a frontend, congrats!

Any other pairs in works, planning maybe?

I would love to convert HBD in a more straightforward way than it is now possible.

!BEER

Posted Using LeoFinance Beta


Hey @deathwing, here is a little bit of BEER from @ervin-lemark for you. Enjoy it!

Learn how to earn FREE BEER each day by staking your BEER.

very good

Posted Using LeoFinance Beta

so only BEP2 is possible now?

Only BNB <> HIVE on BSC -- BEP/ERC is not supported. (BEP2 is Binance chain, which is not supported.)

So only Bep20?

BNB BEP20 is supported. Tokens are not.

and as i registered only keychain and metamask, so no hivegigner?

Hive Keychain and Web3 compatible wallets.

Congratulations @deathwing! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s) :

You got more than 1750 replies.
Your next target is to reach 2000 replies.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Check out the last post from @hivebuzz:

False-Positive phishing alert reported by antivirus software
Feedback from the May 1st Hive Power Up Day
Support the HiveBuzz project. Vote for our proposal!

Whoa just seeing this! Def going to bookmark it! Good job!

Checked the new UI. It's simple and functional. It makes everything even more user friendly. Thank you for your service. !PIZZA

Connect

Trade


@deathwing! I sent you a slice of $PIZZA on behalf of @vimukthi.

Learn more about $PIZZA Token at hive.pizza

Bookmarked... will give it a spin tonight.

Is this bridge still working?

Screenshot 2022-01-16 at 10.53.54 AM.png

BNB > HIVE unfortunately isn't operational at the moment due to a lot of node issues with BSC. HIVE > BNB on the other hand, is working fine.

O.K. thanks for the update.

LEO Bridge is ERC20 (Ethereum tokens) > BEP20 (BSC tokens).