Skip to content

natlotzy/juno-sale-dapp

Repository files navigation

CW20 Token Sale Template

This is a Next.js project using the next-cosmwasm-keplr-starter template, and built with the CW20 Sale Contract.

Preview

juno-sale-dapp preview

Getting Started

First, bootstrap your new project with this example using create-next-app:

npx create-next-app -e https://github.com/natlotzy/juno-sale-dapp my-token-sale-dapp
# or
yarn create next-app -e https://github.com/natlotzy/juno-sale-dapp my-token-sale-dapp

Next, setup your .env file by copying the example:

cp .env.example .env.local

Edit the .env.local file to include info about your token sale.

Then, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.

Requirements

Please ensure you have the Keplr wallet extension installed in your Chrome based browser (Chrome, Brave, etc).

Learn More

To learn more about Next.js, CosmJS, Keplr, and Tailwind CSS - take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.