Rainbow Bridge Guide (full version)
Nothing is loaded from YouTube until you press play, and then without tracking cookies.
About this video
Check out Rainbow Bridge at ethereum.bridgetonear.org
Follow the latest from NEAR Protocol on,
Website: near.org Discord: near.chat Blog: near.org/blog Twitter: / nearprotocol GitHub: github.com/near github.com/nearprotocol
#Blockchain #FutureIsNEAR #NEAR #nearprotocol
Transcript
552 wordsCaptions as YouTube publishes them, usually machine-generated, so product and people names can be misheard.
- 0:04
the rainbow bridge is live between ethereum and near you can go to ethereum.bridgetoneer.org you can connect with wallet connect or metamask or if you're using brave like me braves crypto wallets which calls itself metamask and then even if you don't have a near account yet if you want to send some erc 20 tokens over go ahead and click to create a near account you can log in with metamask as long as you have 0.05 eth and we will give you a little bit of near
- 0:37
0.2 near you'll just have to sign a transaction to show that you actually do own this ethereum address and then boom you'll get some near this does not take any of your eth it just gives out some near bridge all right email recovery feel free to hit me up chat near.org let's get that verification code six seven three one verifying all right i see it and boom did not redirect the whole way back to ethereum.bridgejunior.org but you can go visit it again hit connect
- 1:33
all right and now we are signed in with both of those accounts we can begin a new transfer there's a hard-coded list of some popular erc20 tokens if you don't see your token in the list you can find its address on etherscan and put it in there i've got 100 die i'm going to send them all across because transaction fees on ethereum are pretty high so you've got to send enough to make it worth it
- 1:58
all right so this is using the two-step erc20 transfer process approve then actually transfer it's transferring the erc20 tokens to a token locker that's what's actually happening here and the token locker contract is not going to spend them until they are unlocked when someone sends them back across the bridge from near to ethereum so that's what happens and then this step it's actually gonna the blocks are going to be synced across to a
- 2:29
eth light client that lives in a near smart contract and then that means all right so another 22 dollars so what is what am i at now 40 to transfer 100 then near smart contracts are able to tell that yes this amount was locked over on the ethereum side so we're going to go ahead and create a 100 and die for you over here that's the basic thing that's happening here there's an external relay right now so the confirming transfer 1 of 20 what we're really waiting for is blocks to be mined in ethereum
- 3:12
and then actually getting them into near is very fast so at this point we just wait 300 seconds for 20 blocks to be mined so we may as well dance all right we are ready to deposit near so this is going to make a near contract call now and we're going to get redirected to the near wallet to confirm we need to attach a small amount of mirror transferring boom 100 die transfer complete
- 3:55
awesome so that's what it's going to look like and if i go to near wallet now wallet.new.org loading loading loading boom 100 and to use over in near so that's it we are excited to have you try it out thanks you