Skip to content

Commit

Permalink
update contract addresses (#23)
Browse files Browse the repository at this point in the history
* feat: update address for prepayment and vrfCoordinator

* feat: update contract package version

* feat: update version
  • Loading branch information
nick-bisonai authored Nov 1, 2023
1 parent 1b310df commit 807e581
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ Internally, the scripts access following smart contracts:

Baobab

- `Prepayment` ([0xf37a736b476fCEaB261371A3B3B330772630b0bF](https://baobab.klaytnfinder.io/account/0xf37a736b476fCEaB261371A3B3B330772630b0bF))
- `VRFCoordinator` ([0x6B4c0b11bd7fE1E9e9a69297347cFDccA416dF5F](https://baobab.klaytnfinder.io/account/0x6B4c0b11bd7fE1E9e9a69297347cFDccA416dF5F))
- `Prepayment` ([0x8d3A1663d10eEb0bC9C9e537e1BBeA69383194e7](https://baobab.klaytnfinder.io/account/0x8d3A1663d10eEb0bC9C9e537e1BBeA69383194e7))
- `VRFCoordinator` ([0x05B8AEBAc93C606B6D47994a6EBB7AA1363c765E](https://baobab.klaytnfinder.io/account/0x05B8AEBAc93C606B6D47994a6EBB7AA1363c765E))

Cypress

- `Prepayment` ([0xFD8f232648Dc41FA425214646e0290B9AB6014ED](https://www.klaytnfinder.io/account/0xFD8f232648Dc41FA425214646e0290B9AB6014ED))
- `VRFCoordinator` ([0x55048101797D0D8B812e9ED3854AE90b69E6642A](https://www.klaytnfinder.io/account/0x55048101797D0D8B812e9ED3854AE90b69E6642A))
- `Prepayment` ([0xc2C88492Cf7e5240C3EB49353539E75336960600](https://www.klaytnfinder.io/account/0xc2C88492Cf7e5240C3EB49353539E75336960600))
- `VRFCoordinator` ([0x43bCCfE69523c34FEE9a32ddc2B08ECD62B5cD8e](https://www.klaytnfinder.io/account/0x43bCCfE69523c34FEE9a32ddc2B08ECD62B5cD8e))

If you want to access different deployments of `Prepayment` or `VRFCoordinator`, you can change it inside `hardhat.config.ts` in `namedAccounts` property.

Expand Down
8 changes: 4 additions & 4 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ const config: HardhatUserConfig = {
default: 0
},
prepayment: {
baobab: '0xf37a736b476fCEaB261371A3B3B330772630b0bF',
cypress: '0xFD8f232648Dc41FA425214646e0290B9AB6014ED'
baobab: '0x8d3A1663d10eEb0bC9C9e537e1BBeA69383194e7',
cypress: '0xc2C88492Cf7e5240C3EB49353539E75336960600'
},
vrfCoordinator: {
baobab: '0x6B4c0b11bd7fE1E9e9a69297347cFDccA416dF5F',
cypress: '0x55048101797D0D8B812e9ED3854AE90b69E6642A'
baobab: '0x05B8AEBAc93C606B6D47994a6EBB7AA1363c765E',
cypress: '0x43bCCfE69523c34FEE9a32ddc2B08ECD62B5cD8e'
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vrf-consumer",
"version": "0.2.0",
"version": "0.3.0",
"license": "MIT",
"author": "Bisonai",
"scripts": {
Expand All @@ -11,7 +11,7 @@
"solhint": "./node_modules/.bin/solhint -f table contracts/*.sol"
},
"devDependencies": {
"@bisonai/orakl-contracts": "^1.0.0",
"@bisonai/orakl-contracts": "^1.2.2",
"@nomicfoundation/hardhat-chai-matchers": "^1.0.5",
"@nomicfoundation/hardhat-toolbox": "^2.0.1",
"@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
chalk "^2.0.0"
js-tokens "^4.0.0"

"@bisonai/orakl-contracts@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@bisonai/orakl-contracts/-/orakl-contracts-1.0.0.tgz#ce0c7dbd54b95345df31ae658b5798d153fea769"
integrity sha512-cVou2YAJFIIYLZoj1k5HQFwMbhBusYxy7DmyyxInQanyXz5fpk98b/VpMXNE78/PJVKja9Jtt5SAdzOF2cwmKA==
"@bisonai/orakl-contracts@^1.2.2":
version "1.2.2"
resolved "https://registry.npmjs.org/@bisonai/orakl-contracts/-/orakl-contracts-1.2.2.tgz#300463ab3bf911cc49dcf5fd8f1ccac92dfeb274"
integrity sha512-2cHolmk/4ZFyjSdCFny6WUDpTzWusHwqDSJJSsee0m7PpZpIHsQiD7pG+yV+BHjCkYVsdRUvIOZNvCvMR2jtWg==

"@cspotcode/source-map-support@^0.8.0":
version "0.8.1"
Expand Down

0 comments on commit 807e581

Please sign in to comment.