Go to file
Maximilian Schneider 2935c1ca63 fix logic bug in wallet connect 2021-11-01 03:51:32 +00:00
.prisma/client add prisma client 2021-04-04 19:05:38 -04:00
components fix logic bug in wallet connect 2021-11-01 03:51:32 +00:00
lib Move MCAP into escrow account instead of burning to allow refunds 2021-09-15 19:08:08 +02:00
pages text change 2021-09-16 18:12:03 -07:00
prisma Move MCAP into escrow account instead of burning to allow refunds 2021-09-15 19:08:08 +02:00
providers switch to mainnet 2021-11-01 03:44:01 +00:00
public add phantom and show correct pubkey on connect 2021-08-26 20:00:10 -07:00
styles remove focus outline 2021-03-21 04:10:36 +01:00
tasks prepare DB & UI for shipping (#15) 2021-04-23 00:48:12 +03:00
.babelrc Setup contract (#6) 2021-03-27 12:51:23 +01:00
.gitignore start verifying redemptions in backend 2021-04-01 03:46:50 +02:00
README.md Update README.md 2021-04-23 11:18:16 -04:00
next-env.d.ts Setup contract (#6) 2021-03-27 12:51:23 +01:00
package.json Move MCAP into escrow account instead of burning to allow refunds 2021-09-15 19:08:08 +02:00
postcss.config.js port uniswap card and layout page header 2021-03-21 02:10:17 +01:00
tailwind.config.js port uniswap card and layout page header 2021-03-21 02:10:17 +01:00
tsconfig.json Setup contract (#6) 2021-03-27 12:51:23 +01:00
yarn.lock Move MCAP into escrow account instead of burning to allow refunds 2021-09-15 19:08:08 +02:00

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