Skip to content

Commit

Permalink
deployed new version of contracts to Kovan and Ropsten
Browse files Browse the repository at this point in the history
added deploy using infura mechanism
ABI updated
  • Loading branch information
chatch committed Feb 9, 2019
1 parent daf3590 commit 315ff0c
Show file tree
Hide file tree
Showing 11 changed files with 7,611 additions and 5,284 deletions.
6 changes: 3 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 8,
"ecmaVersion": 9,
"ecmaFeatures": {
"impliedStrict": true
},
Expand All @@ -13,14 +13,14 @@
"mocha": true
},
"globals": {
// truffle test framework provided:
"web3": true,
"contract": true,
"artifacts": true,
"assert": true
},
"rules": {
"no-console": "off",
"no-unused-vars": ["warn"]
"no-unused-vars": ["warn"],
"semi": ["error", "never"]
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
build/
config.js
node_modules/
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
build/
config*.js
contracts/
migrations/
src/
test/
truffle.js
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ Use these contracts for creating HTLCs on the Ethereum side of a cross chain ato

HashedTimelock:

- Kovan: [0xc3ed16874bc9551b079c135eb27b10ee1348ac12](https://kovan.etherscan.io/address/0xc3ed16874bc9551b079c135eb27b10ee1348ac12)
- Kovan: [0xe196bb1e25483ed771b6691929d47943023c26fe](https://kovan.etherscan.io/address/0xe196bb1e25483ed771b6691929d47943023c26fe)
- Ropsten:
[0xbb6883511ff318ba85b5745fb1a6083537bf914c](https://ropsten.etherscan.io/address/0xbb6883511ff318ba85b5745fb1a6083537bf914c)
[0x243785f6b65418191ea20b45fde7069ffe4f8cef](https://ropsten.etherscan.io/address/0x243785f6b65418191ea20b45fde7069ffe4f8cef)
- Mainnet: <not deployed yet ...>

HashedTimelockERC20:

- Kovan: [0xfD4BEbA807E89E2cA209cd53c28471840446ddf2](https://kovan.etherscan.io/address/0xfD4BEbA807E89E2cA209cd53c28471840446ddf2)
- Ropsten: [0x6879e090240358f59fc5d212f87da63d3288749b](https://ropsten.etherscan.io/address/0x6879e090240358f59fc5d212f87da63d3288749b)
- Kovan: [0x763eedd3c04a9a2fca67ac51fc16e394472f29a2](https://kovan.etherscan.io/address/0x763eedd3c04a9a2fca67ac51fc16e394472f29a2)
- Ropsten: [0x16b6fabc530c7bfde69eafd9e271fb610e3fc3f7](https://ropsten.etherscan.io/address/0x16b6fabc530c7bfde69eafd9e271fb610e3fc3f7)
- Mainnet: <not deployed yet ...>

## Protocol - Native ETH
Expand Down
5,527 changes: 3,007 additions & 2,520 deletions abi/HashedTimelock.json

Large diffs are not rendered by default.

6,223 changes: 3,494 additions & 2,729 deletions abi/HashedTimelockERC20.json

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions config.example.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module.exports = {
ownerAccount: {
kovan: "<owner address>",
rinkeby: "<owner address>",
infura: "<owner address>"
},
infura: {
apikey: "<infura api key>",
mnemonics: {
kovan: "<hd wallet mnemonic>",
rinkeby: "<hd wallet mnemonic>",
ropsten: "<hd wallet mnemonic>"
}
}
}
8 changes: 4 additions & 4 deletions deployment.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"htlc": {
"kovan": "0xc3ed16874bc9551b079c135eb27b10ee1348ac12",
"ropsten": "0xbb6883511ff318ba85b5745fb1a6083537bf914c",
"kovan": "0xe196bb1e25483ed771b6691929d47943023c26fe",
"ropsten": "0x243785f6b65418191ea20b45fde7069ffe4f8cef",
"testrpc": "0x345ca3e014aaf5dca488057592ee47305d9b3e10"
},
"htlcERC20": {
"kovan": "0xfD4BEbA807E89E2cA209cd53c28471840446ddf2",
"ropsten": "0x6879e090240358f59fc5d212f87da63d3288749b",
"kovan": "0x763eedd3c04a9a2fca67ac51fc16e394472f29a2",
"ropsten": "0x16b6fabc530c7bfde69eafd9e271fb610e3fc3f7",
"testrpc": "0xf25186b5081ff5ce73482ad761db0eb0d25abfbf"
}
}
Loading

0 comments on commit 315ff0c

Please sign in to comment.