This project demonstrates the integration of WormholeConnect for Non-Transferable Tokens (NTTs) between the Solana and BaseSepolia chains. The application simplifies token management and routing for the LINGOsol
and LINGObase
tokens.
-
Multi-Chain Support:
- Enables token bridging between Solana and BaseSepolia.
-
Token Configurations:
- Supports
LINGOsol
(on Solana) andLINGObase
(on BaseSepolia).
- Supports
-
User-Friendly Interface:
- Simplified UI for NTT bridging with custom theming.
The wormholeConfig
object defines:
- Network: Set to
Testnet
for testing purposes. - Chains: Focuses on Solana and BaseSepolia.
- Tokens: Supports bridging for the following tokens:
LINGOsol
: Solana-based NTT with a 9-decimal precision.LINGObase
: BaseSepolia-based NTT with a 9-decimal precision.
- Routing:
- Predefined routes for seamless token bridging using Wormhole's infrastructure.
The user interface includes:
- Customizable Title: Set to "Wormhole NTT UI."
- Default Inputs: Preselects
Solana
as the source chain andBaseSepolia
as the destination chain. - Dark Theme: With a custom primary color.
- Node.js (v14 or higher)
- npm or yarn
- A Solana keypair and BaseSepolia private key for testing
- Clone the repository:
git clone <repository-url> cd <repository-directory>
- Install dependencies:
npm install
- Start the development server:
npm start
- Select a source and destination chain.
- Enter token details for
LINGOsol
orLINGObase
. - Initiate the bridging process via the WormholeConnect interface.
Token | Chain | Address | Decimals |
---|---|---|---|
LINGOsol |
Solana | mntatMdn5EVdqqhuR7cR22SDbY78Z324j5hXmphjaf6 |
9 |
LINGObase |
BaseSepolia | 0x1b0981608F8D5Fb22fa38Bd445a877938cBf90FA |
9 |
- React: For building the user interface.
- WormholeConnect: For multi-chain token bridging.
- Solana and BaseSepolia: Blockchain platforms for NTT management.
To test locally, ensure you have set up the required environment variables for Solana and BaseSepolia:
- Export your Solana private key:
export SOLANA_PRIVATE_KEY="<your-private-key>"
- Run the application using the test network:
npm start
This project is licensed under the MIT License. See the LICENSE
file for details.