Bridge TRBP from Sepolia
Follow the steps to practice bridging Tellor "playground" TRB (TRBP) from Sepolia testnet:
Last updated
Follow the steps to practice bridging Tellor "playground" TRB (TRBP) from Sepolia testnet:
Last updated
You can mint Layer Testnet TRB using this Sepolia Tellor Playground contract’s “faucet” command. Connect your wallet, click the function 5. faucet
, put your sepolia ethereum address in the _user field, click write and confirm your transaction.
You should now have 1000 TRBP in your sepolia wallet for bridging to layer.
Note: TRBP contract address for layer is different from the sepolia TRB token used for reporting to legacy tellor on sepolia.
Click on function 2. approve
.
Set spender to the bridge contract address: 0xFC1C57F1E466605e3Dd40840bC3e7DdAa400528c
Set _amount to be the amount that you want to bridge like 25000000000000000000 (25 TRB with 18 decimals)
Once you have TRBP in your wallet, navigate to the Layer Testnet bridge. Connect your wallet and click function 3. depositToLayer
. Set the amount to the amount of TRBP that you want to bridge, e.g. 100000000000000000000 (100 TRBP + 18 decimals).
Set _layerRecipient to your tellor prefix address on layer. If you don't have an address yet, see steps to Create an account on Layer here.
Note: The amount that you can bridge is limited. Layer does not allow more than 5% of the supply to be bridged in a 12 hour period. If your tx is failing, try a smaller value for _amount.
Open your transaction via block explorer and retrieve the depositId
from the event logs:
There's a 12 hour delay to secure deposits. While you are waiting, your bridge transaction with me automatically reported to layer. While you're wait it's a great opportunity to join the tellor discord and say hello!
Open a terminal on your layer node machine and use the command (replacing 212 your depositId
):
You should see your new balance when you run the command: