Skip to main content

Bridge Between Hub and Verse

Tutroal

Anyone can try to token bridge tutorial between Oasys Testnet or Mainnet, and SANDVerse.

TokenBridge
oFT / oNFTO
vFT / vNFTX

Install tutorial

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