Bridge Pass offers a unique cross-chain gift card solution, allowing you to send gift cards to your loved ones across different blockchain networks. With Bridge Pass, you can easily purchase a gift card and let the recipient redeem it on their desired chain. Additionally, Bridge Pass also supports same-chain gift cards for those who prefer to redeem on the same network.
Bridge Pass leverages the ERC-721 NFT standard to create Soul Bound Tokens, facilitating seamless cross-chain asset transfers through Connext Smart Contracts. For on-chain transfers, Gift Card employs the same ERC-721 NFT standard to ensure a smooth, secure, and efficient process.
The Gift Card contains a value of 0.0001 + relayer fees, which are negligible. However, these fees may be higher on testnets due to increased traffic and limited liquidity.
There are two types of Gift cards: one for cross-chain transactions and the other for on-chain transactions (same-blockchain). Let's discuss Bridge Pass first.
In Bridge Pass, you need to purchase a pass for an amount of 0.0001 ETH + 0.0003 Relayer fees. Once you buy the pass and enter the recipient's details, triggering the transaction will provide you with a unique Token ID. This Token ID is used to redeem the pass on the respective chain. We utilize the ERC-721 NFT Standard as Soul Bound Tokens to ensure that the gift cannot be transferred to someone else. After completing these steps, inform your loved ones to redeem the gift by entering the Token ID, and voila! They will have successfully redeemed the gift card.
Bridge Pass is available on testnet and Mainnet.
| Mainnet | Redeem to |
|---|---|
| Optimism | Arbitrum |
| Arbitrum | Optimism |
| Mainnet | Testnet |
|---|---|
| Goerli | Optimism-Goerli |
| Optimism-Goerli | Goerli |
Note : Note: All contract address of Gift are same on respective deployed chain.
When the deployer address and nonce are the same, the resulting contract address will also be the same
In Gift Card for same-chain transactions, you need to purchase a pass for an amount of 0.0001 ETH. Once you buy the pass and enter the recipient's details, triggering the transaction will provide you with a unique Token ID. This Token ID is used to redeem the pass on the same chain. We utilize the ERC-721 NFT Standard as Soul Bound Tokens to ensure that the gift cannot be transferred to someone else. After completing these steps, inform your loved ones to redeem the gift by entering the Token ID, and voila! They will have successfully redeemed the gift card.
Gift Card is available on testnet and Mainnet.
Clone the project
git clone [email protected]:karangorania/bridgepass-fe.gitGo to the project directory
cd bridgepass-feInstall dependencies
npm run dev
# or
yarn dev
# or
pnpm devnpm run dev