charleenfei / tinlake-ui

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tinlake-ui

Development

  1. Make sure you are on a stable node version, v12.16.3 on the time of writing this (the sha3 dependency did not work with newer versions in some cases): nvm use
  2. Install dependencies with npm install

Setup environment

add the following env variables

  • export NFT_DATA_DEFINITION=PARTNER_NFT_DATA_DEFINITION
  • export RPC_URL=NETWORK_RPC_URL
  • export TINLAKE_ADDRESSES=ADDRESSES_FOR_THE_PARTNER_TINLAKE_CONTRACTS

...or just add a .env file containing the variables to the project folder

Run

npm start # to start the NextJs server and serve the Netlify lambdas locally

About


Languages

Language:TypeScript 98.8%Language:JavaScript 1.1%Language:Dockerfile 0.1%Language:Shell 0.0%