Anyone can try to token bridge between Oasys Testnet and SandVerse.
Clone the repository and install dependencies.
git clone https://github.com/oasysgames/l1-l2-bridge-tutorial.git
cd l1-l2-bridge-tutorial
npm install
Set the private key of the your test account in the .env
file.
You can get a test token from Faucet.
PRIVATE_KEY=0x...
Try OAS
bridge.
npx hardhat run scripts/bridge-OAS.ts
Try oFT
bridge.
npx hardhat run scripts/bridge-oFT.ts
Try oNFT
bridge.
npx hardhat run scripts/bridge-oNFT.ts