Backend for www project
-
First copy the
example.env
file to.env
filecp example.env .env
-
Use
yarn
to install the dependencies.yarn
-
Generate the prisma types with
prisma
npx prisma migrate dev
-
Use the default scripts to run the project
yarn dev
-
Or you can start using this script
yarn start
- Website: https://www-agent.vercel.app/
- Email: user@mail.com
- Password: password
- Buy token service
- Trigger once the user has bought LANDC token with usdc
- Receive webhook calls from stripe
- Partition the amount by 96%, 3% and 1%
- Transact the amounts to liquidity fund, escrow account and dev team respectively using Stripe
- Buring tokens cron:
- Get 3% and 1% equivalent token from smart contract
- Burn the equivalent token on monthly basis