Deposit & Fast Withdrawal to Godwoken v1
This tutorial shows how to deposit and withdraw funds from old Godwoken - version 0 - to the new network - version 1. If you don't have any funds on old network you should skip this article.
This guide will show you how to do Fast Withdrawal, which takes minutes instead of days and transfer funds from old Layer 2 EVM Godwoken network to the new Godwoken.
If you wish to withdraw funds from Godwoken V0 to Nervos Layer 1 then it will be a slower process (days) due to Optimistic Rollup security architecture.
In order to follow this tutorial, you must have already downloaded a web3 wallet, such as MetaMask, and have enough CKB or supported sUDT tokens in the wallet.
For more information about the concepts of CKB, refer to Nervos CKB.
Prerequisites
Set up an account in MetaMask.
Connect Godwoken Bridge with the MetaMask wallet and switch the network to Godwoken Testnet v1.1.
Acquire CKB for your layer 1 wallet from CKB Testnet Faucet. The L1 Wallet address can be found on the Deposit page of Godwoken Bridge.
Note: A deposit or a withdrawal requires at least 400 CKB.
Deposit CKB from Nervos CKB to MetaMask
Note: The minimum amount of a deposit from Nervos CKB layer 1 to MetaMask is 400 CKB.
To deposit CKB from Nervos CKB to MetaMask:
If Godwoken Bridge is connected to Godwoken V0, select Godwoken V1 from the drop-down menu on the top right of the page.
On the Deposit page, enter the amount for the deposit, then click Deposit.
Press Sign to authorize the transaction on the MetaMask popup to complete the deposit.
Refresh the page after a few minutes to check the changes in layer 1 and layer 2 account balances.
Withdraw Assets from MetaMask to Nervos CKB
Note: The minimum amount of a withdrawal from MetaMask to Nervos CKB layer 1 is 400 CKB.
If Godwoken Bridge is connected to Godwoken V0, select Godwoken V1 from the drop-down menu on the top right of the page.
Enter the amount for the withdrawal on the Withdrawal page, then click Request Withdrawal.
Click Confirm to complete the transaction.
Sign the withdrawal.
After successfully withdrawing assets, check the wallet to see the balance.
Withdraw Assets from Godwoken V0 to Godwoken V1
Note: The minimum amount of a withdrawal from Godwoken v0 to v1 is 650 CKB.
To withdraw assets from Godwoken v0 to Godwoken v1:
Select Godwoken V0 from the drop-down menu on the top right of the page.
On the Withdrawal page, choose GodWoken V1 as the withdrawal destination.
Enter the amount for the withdrawal and click Request Withdrawal.
Click Confirm to complete the transaction.
Sign the withdrawal.
After successfully withdrawing assets, check the wallet to see the balance.