Originally developed with the help of TzConnect and Hicathon for hicetnunc
Currently deployed on mainnet at https://vote.teia.art
- Nodejs
- Yarn
-
Create
.env
file using example.cp .env.example .env
- update the .env file
-
Run:
yarn deploy
-
Update the
.env
file with contract address received from above command.
Update the .env
file to include below fields:
- REACT_APP_NETWORK: Network where contract is deployed. Available options: "MAINNET" | "DELPHINET" | "EDONET" | "FLORENCENET" | "GRANADANET" | "CUSTOM"
- REACT_APP_RPC_URL: RPC url to connect to. Default: https://florencenet.smartpy.io/
- REACT_APP_CONTRACT_ADDRESS: Contract address received from the deployment step above.
yarn build
: To build the production app.yarn start
: To start the app in local dev setup.