First install contract dependencies
make setup-contract-libs
After making changes to Smart Contract, Compile solidity smart contract
make compile-contract
After compiling, test solidity smart contract
make test-contract
After tests runs successfully, you are set to deploy the application.
For that first add Environment Variables
by creating a new .env
file in contract
folder and add the contents following .env.example
Once you have added correct credentials, deploy the smart contract
make deploy-contract
Once you have successfully deployed the smart contract, you will find the address of your deployed smart contract in the terminal, copy that as it will be required in frontend to interact with your smart contract
The live application is using contract deployed at 0x0dcba90ec9a960d72fdee71aee694e975fffeeed
Now, Lets start by installing ui dependencies
make setup-ui-libs
Now add Environment Variables
by creating a new .env
file in ui
folder and add the contents following .env.example
Now, Run the ui
make run-ui-dev
now the application is running at localhost:3000
To build the ui
make build-ui