Skip to content

Commit

Permalink
More updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
anupam-io committed Apr 7, 2021
1 parent 0e0c6e0 commit 3a3c253
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
LINK_CONTRACT_ADDRESS="..."
RPC_URL="..."
MNEMONIC="..."
NODE_ADDRESS="..."
JOB_ID="..."
ETHERSCAN_API_KEY="..."
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ DATABASE_TIMEOUT=0
- `truffle exec scripts/4_request.js --network kovan`
- `truffle exec scripts/5_read_val.js --network kovan`

- `node main.js`: Check postgres connection & NODE funds

## Deployed contracts
- [Oracle.sol](https://kovan.etherscan.io/address/0x63a7E202B1e0d76C576841fB91E6dB0D03D95a0F)
- [ATestnetConsumer.sol](https://kovan.etherscan.io/address/0x3D07b397734D638906db75859eb97949C9402f72)
2 changes: 1 addition & 1 deletion contracts/ATestnetConsumer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ contract ATestnetConsumer is ChainlinkClient, Ownable {
{
emit RequestEthereumLastMarket(_requestId, _market);
lastMarket = _market;
}067dc335be9c4e0a80240fccec9a4aa4
}

function getChainlinkToken() public view returns (address) {
return chainlinkTokenAddress();
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
"main": "index.js",
"license": "MIT",
"scripts": {
"compile": "truffle compile",
"migrate": "truffle migrate --reset --network kovan",
"verify": "truffle run verify Oracle ATestnetConsumer --network kovan --license MIT"
"verify": "truffle run verify Oracle ATestnetConsumer --network kovan --license MIT",
"check": "node main.js"
},
"dependencies": {
"@chainlink/contracts": "^0.1.7",
"@truffle/hdwallet-provider": "^1.2.6",
"axios": "^0.21.1",
"dotenv": "^8.2.0",
"pg": "^8.5.1",
"truffle-plugin-verify": "^0.5.7",
Expand Down
1 change: 1 addition & 0 deletions truffle-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ module.exports = {
// options below to some value.
//
// development: {
// skipDryRun: true, // Skip dry run before migrations? (default: false for public nets )
// host: "127.0.0.1", // Localhost (default: none)
// port: 8545, // Standard Ethereum port (default: none)
// network_id: "*", // Any network (default: none)
Expand Down

0 comments on commit 3a3c253

Please sign in to comment.