2935c1ca63 | ||
---|---|---|
.prisma/client | ||
components | ||
lib | ||
pages | ||
prisma | ||
providers | ||
public | ||
styles | ||
tasks | ||
.babelrc | ||
.gitignore | ||
README.md | ||
next-env.d.ts | ||
package.json | ||
postcss.config.js | ||
tailwind.config.js | ||
tsconfig.json | ||
yarn.lock |
README.md
This is the deployed version of initialcapoffering.com
This is a Next.js project bootstrapped with create-next-app
.
Getting Started
Create a local .env
file that sets DATABASE_URL=
with the heroku
postgres url: https://dashboard.heroku.com/apps/mango-caps/resources
yarn # install dependencies
npx prisma generate # generate DB client code
yarn dev # launch dev server
npx prisma studio # launch DB admin panel
Setup the Token
spl-token create-token --decimals 0
# Creating token 2prC8tcVsXwVJAinhxd2zeMeWMWaVyzPoQeLKyDZRFKd
spl-token create-account 2prC8tcVsXwVJAinhxd2zeMeWMWaVyzPoQeLKyDZRFKd
spl-token mint 2prC8tcVsXwVJAinhxd2zeMeWMWaVyzPoQeLKyDZRFKd 500
spl-token authorize 2prC8tcVsXwVJAinhxd2zeMeWMWaVyzPoQeLKyDZRFKd mint --disable
Migrate DB
npx prisma db push --preview-feature