Skip to content

Commit 315ff0c

Browse files
author
Chris Hatch
committed
deployed new version of contracts to Kovan and Ropsten
added deploy using infura mechanism ABI updated
1 parent daf3590 commit 315ff0c

11 files changed

+7611
-5284
lines changed

.eslintrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"extends": "eslint:recommended",
33
"parserOptions": {
4-
"ecmaVersion": 8,
4+
"ecmaVersion": 9,
55
"ecmaFeatures": {
66
"impliedStrict": true
77
},
@@ -13,14 +13,14 @@
1313
"mocha": true
1414
},
1515
"globals": {
16-
// truffle test framework provided:
1716
"web3": true,
1817
"contract": true,
1918
"artifacts": true,
2019
"assert": true
2120
},
2221
"rules": {
2322
"no-console": "off",
24-
"no-unused-vars": ["warn"]
23+
"no-unused-vars": ["warn"],
24+
"semi": ["error", "never"]
2525
}
2626
}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
build/
2+
config.js
23
node_modules/

.npmignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
build/
2+
config*.js
23
contracts/
34
migrations/
45
src/
56
test/
7+
truffle.js

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ Use these contracts for creating HTLCs on the Ethereum side of a cross chain ato
1313

1414
HashedTimelock:
1515

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

2121
HashedTimelockERC20:
2222

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

2727
## Protocol - Native ETH

abi/HashedTimelock.json

Lines changed: 3007 additions & 2520 deletions
Large diffs are not rendered by default.

abi/HashedTimelockERC20.json

Lines changed: 3494 additions & 2729 deletions
Large diffs are not rendered by default.

config.example.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
module.exports = {
2+
ownerAccount: {
3+
kovan: "<owner address>",
4+
rinkeby: "<owner address>",
5+
infura: "<owner address>"
6+
},
7+
infura: {
8+
apikey: "<infura api key>",
9+
mnemonics: {
10+
kovan: "<hd wallet mnemonic>",
11+
rinkeby: "<hd wallet mnemonic>",
12+
ropsten: "<hd wallet mnemonic>"
13+
}
14+
}
15+
}

deployment.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"htlc": {
3-
"kovan": "0xc3ed16874bc9551b079c135eb27b10ee1348ac12",
4-
"ropsten": "0xbb6883511ff318ba85b5745fb1a6083537bf914c",
3+
"kovan": "0xe196bb1e25483ed771b6691929d47943023c26fe",
4+
"ropsten": "0x243785f6b65418191ea20b45fde7069ffe4f8cef",
55
"testrpc": "0x345ca3e014aaf5dca488057592ee47305d9b3e10"
66
},
77
"htlcERC20": {
8-
"kovan": "0xfD4BEbA807E89E2cA209cd53c28471840446ddf2",
9-
"ropsten": "0x6879e090240358f59fc5d212f87da63d3288749b",
8+
"kovan": "0x763eedd3c04a9a2fca67ac51fc16e394472f29a2",
9+
"ropsten": "0x16b6fabc530c7bfde69eafd9e271fb610e3fc3f7",
1010
"testrpc": "0xf25186b5081ff5ce73482ad761db0eb0d25abfbf"
1111
}
1212
}

0 commit comments

Comments
 (0)