The purpose of this smart contract to retrieves a text from a real-world API and stores it on the Ethereum blockchain.
- Assumptions
- Enviroment variables
- Interact with the deployed smart-contract
- Run Tests
- Run Deploy
- Tools
- Using https://www.quicknode.com/ to call the ETH Rinkeby testnet.
- DEV_RINKEBY_KEY=
[Rinkeby test network key]
- PROD_MAINNET_KEY=
[Mainnet network key]
- PRIVATE_KEY=
[Private Key]
- CHAINLINK_TOKEN_ADDRESS=
[Chainlink LINK token address]
- CHAINLINK_ORACLE_ADDRESS=
[Chainlink Oracle address]
- CHAINLINK_JOBID=
[Chainlink Job ID]
- EXTERNAL_API_URL=
[External API URL]
- EXTERNAL_API_PATH=
[External API Path]
- Smart-contract address
- Get balance
- Update message
npm run execute
- Run unit-test cases aginist the moked smart-contracts
npm run test
- Deploy the contract to Rinkeby test network
- Solidity
- Hardhat
- Chainlink Get > Bytes