Contract can be found here on sepolia testnet: https://sepolia.etherscan.io/address/0x050b95aa134c10c6e5bf50e29f322705e819a178
git clone https://github.com/RevanthGundala/Sentiment.git
npm i
- Replace .env
npx hardhat run scripts/00-runAll.js --network NETWORK_NAME
- To run tests:
npx hardhat test --network NETWORK_NAME
cd functions-hardhat-starter-kit
- In order to test Chainlink Functions specific tasks, please refer to
https://github.com/smartcontractkit/functions-hardhat-starter-kit
cd ..
./Functinos.sh
ORnpx hardhat run scripts/updateState.js --network sepolia
cd server
npm i
node index
cd frontend
npm i
- Replace .env
npm run dev
Note: Make sure to replace messages and name in Functions-request-config.js in the starter kit.
Note: BEARER_ACCESS_TOKEN by Space and Time is reset every 30 minutes. sentiment-submission.vercel.app
If you are receiving circom errors, make sure to:
cd scripts
./compile-circuits.sh