This project sets up a Vite-React TypeScript application and integrates it with the Wormhole Connect SDK.
Ensure you have the following installed on your system:
- Node.js & TypeScript
- npm or yarn
First, clone the repository to your local machine:
git clone https://github.com/wormhole-foundation/demo-ntt-connect.git
cd demo-ntt-connect
Make sure to install all required dependencies using npm
or yarn
:
# Using npm
npm install
# Or using yarn
yarn
### 3. Adjust WormholeConnectConfig
Adjust the `WormholeConnectConfig` in `App.tsx` based on the `deployment.json` file from your NTT deployment. This configuration is essential to ensure proper integration with your deployment environment.
### 4. Run the App
Finally, run your application:
```bash
yarn dev
or, if using npm:
npm run dev