Cross-Chain Token
Before You Begin
1
Clone & Setupterminal
$git clone https://github.com/VIALabs-io/quickstart-token.git && cd quickstart-token
$npm install
$cp .env.example .env
Configure Private Key
Add your wallet's private key to the .env file:PRIVATE_KEY=your_private_key_here
2
Deploy Your Tokenterminal
$node scripts/deploy.js
3
Test Token Bridgeterminal
$node scripts/bridge.js avalanche-testnet base-testnet 5
4
Run the Frontendterminal
$cd frontend
$npm install
$npm run dev
Complete
Your cross-chain token is now deployed, bridged, and the frontend is running. Open http://localhost:3000 in your browser to interact with your tokens.