This is the dashboard for Wormhole's Native Token Transfers. Native Token Transfers (NTT) is an open framework that enables the seamless creation and transfer of multichain tokens, while maintaining ownership and contract upgradability across blockchains.
- Node v20+
- pnpm
Ensure pnpm
is installed (https://pnpm.io/) and clone the repository.
# Clone the repository
git clone git@github.com:gfx-labs/wormhole-ntt-launchpad.git
# Change the directory
cd wormhole-ntt-launchpad
# Checkout the latest release
git checkout main
# Create a local .env file
cp .env.example .env.local
# Install the dependencies
pnpm i
pnpm dev
You can start modifying the content of the home page by editing src/components/pageComponents/home/index.tsx
. The page auto-updates as you edit the file.
You can also modify and see how our Web3 components work in the demos folder.
pnpm build
pnpm preview
To add / remove / edit a network supported by the dApp you can do it directly in the networks.config.ts
file.
- Import the supported network of your choice, say
base
.
- import { mainnet, optimismSepolia, sepolia } from 'viem/chains'
+ import { base, mainnet, optimismSepolia, sepolia } from 'viem/chains'
...
- export const chains = [mainnet, optimismSepolia, sepolia] as const
+ export const chains = [base, mainnet, optimismSepolia, sepolia] as const
- Include it in the trasports, using the default RPC provided by wagmi/viem...
export const transports: RestrictedTransports = {
...
+ [base.id]: http(env.PUBLIC_RPC_BASE),
}
If you want to use an RPC different from the one provided by wagmi
- Define the env variable
+ PUBLIC_RPC_BASE=https://base.llamarpc.com
- Import it in the
src/env.ts
file
export const env = createEnv({
client: {
...
+ PUBLIC_RPC_BASE: z.string().optional(),
},
})
Note: if not specified, it will be undefined
making the app to use the wagmi-defined RPC.
If you want to contribute to this project, please read the contributing guidelines. Issues and pull requests are welcome!