-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathnotes.txt
74 lines (48 loc) · 2.29 KB
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
July 9
Able to deploy contracts using pyepm fork/receipt branch commit 24a85bc
July 3
When updating contract, update the abi JS
On NEW private chain:
* traddr = deploy testnet relay
* fetchd with traddr
* ethBtcDeploy with traddr
with coinbase 0x41fcb4160fdab4afbde9d7cad9effe8cc927e1fe the 1st contract will be at: 0x770...
testnetrelay and for fetchd: 0x77045e71a7a2c50903d88e564cd72fab11e82051
the 2nd contract will be at: 0x1ed...
ethbtcswap: 0x1ed614cd3443efd9c70f04b6d777aed947a4b0c4
July 2
private chain
ticket contract with ticketid as part of PoW: 0x0e19674ebc2c2b6df3e7a1417c49b50235c61924
testnet relay: 0xda7ce79725418f4f6e13bf5f520c89cec5f6a974 (actually could have kept old chain and just deploy new ticket contract)
testnet relay started at 486795 and needs to be 486842+6
blocks for tickets 2 and 3 can be reserved with this same txhash:
txHash = 0xdd5a8f13c97c8b8d47329fa7bd487df24b7d3b7e855a65eb7fd51e8f94f7e482
ticketId = 2
nonce = 2460830
ticketId = 3
nonce = 726771
June 30
private chain exported as gethJune30chain.bin
ticketContract is: 0x1af2844a588759d0de58abd568add96bb8b3b6d8
testnet relay: 0x77045e71a7a2c50903d88e564cd72fab11e82051
7 tickets, ticket 2 is reserved and claimable.
The password to unlock the keystore is 'test'. The keystore for address cd2a...
is not committed.
Here's how to create the tx to reserve the ticket:
send funds to intermediate address then:
python btcToEther.py makeAndSignTx 12.34 0.0017 mvBWJFv8Uc84YEyZKBm8HZQ7qrvmBiH7zR cd2a3d9f938e13cd947ec05abc7fe734df8dd826
block 486842
tx hash dd5a8f13c97c8b8d47329fa7bd487df24b7d3b7e855a65eb7fd51e8f94f7e482
nonce 119597
June 29
deployBtcTestnet (in btcrelay repo) works, note the 0x in the -a flag though:
pyepm -a 0x82a978b3f5962a5b0957d9ee9eef472ee55b42f1 deploy/testnet/deployBtcTestnet.yaml
pyepm version 7b7598e (branch fork/twoWaitTx) and Serpent 1.8.2 (e7b16fc) needed.
The deploy also works with testrpc d9e1ed0.
June 8
1. to debug verifyTx, update verifyTxForDebug.se then run deployDebug.yaml
1. with the contract address, replace setRelayToDebugContract.yaml and the dbgAddress variable in claimTicket.js
1. run setRelayToDebugContract.yaml
1. update dbgVerifyTx() txHash variable in claimTicket.js if needed
1. claim the ticket and watch what is fired
early ideas on Reserve Ticket http://imgur.com/INl0gk7