85 Commits

Author SHA1 Message Date
noot
e32fc7ba48 protocol update: update contract to verify hash of private spend key, saving on gas (#37) 2021-11-22 00:01:53 -05:00
noot
5da175b471 utilize t0 and t1 logic in protocol code for Alice and Bob (#30) 2021-11-21 21:10:34 -05:00
noot
10749646df implement rpc server for daemon process, refactor codebase to be controlled via rpc calls (#23) 2021-11-14 18:48:07 -05:00
noot
eb3a8cb5f4 fix: fix transfer test consistency on CI 2021-10-29 16:28:11 -04:00
noot
e72f7648e6 update ci to run on master, fix unit-tests job (#13) 2021-10-29 10:43:55 -04:00
noot
e9057490f9 add ci checks for build, test, lint; lint code; change filenames to be go-idiomatic (#12) 2021-10-25 18:20:14 -04:00
Robert Hambrock
f2fa48b566 remove superfluous bit clearing
already done by go lib
2021-10-24 14:12:36 +02:00
Robert Hambrock
68c306a09a /actually/ mask highest bit ^^ 2021-10-24 14:12:36 +02:00
Robert Hambrock
6cae77ab8b add private key truncation
required for DLEQ proof
2021-10-24 14:12:36 +02:00
Robert Hambrock
c3bcaf5067 simplify PublicSpendOnSecp256k1 interface 2021-10-24 14:12:36 +02:00
Robert Hambrock
eccbf798ea add EC.sol and implement
currently replacing onchain implementation, but will ultimately coexist
2021-10-24 14:12:32 +02:00
noot
0c93532313 add log of alice's xmr balance after swap 2021-10-24 06:55:44 -04:00
noot
6923e168c9 fix monero.PrivateKeyPair.AddressBytes 2021-10-23 20:58:11 -04:00
noot
7036c4636f update alice.NotifyClaimed 2021-10-23 20:43:07 -04:00
noot
dd868d8a19 update alice/bob protocol 2021-10-23 19:42:27 -04:00
noot
f7138c5ad6 add monero crypto pubkey test 2021-10-23 18:35:48 -04:00
noot
4e424e74ef events working, protocol ok up until Claim secret check 2021-10-23 18:04:41 -04:00
noot
c72d5e8e01 protocol ok up to Alice receiving notify of lock 2021-10-23 17:24:25 -04:00
noot
c7ccbfcdb3 add alice.CreateMoneroWallet 2021-10-23 17:03:17 -04:00
noot
0d9ae74eee Merge branch 'master' of github.com:noot/atomic-swap 2021-10-23 16:47:01 -04:00
noot
73f324968b implement alice.WatchForClaim and bob.WatchForReady 2021-10-23 16:46:44 -04:00
noot
bc8b8aefec fix tests 2021-10-23 16:34:36 -04:00
noot
475a6a3c79 implement bob.WatchForRefund 2021-10-23 16:33:51 -04:00
noot
493e225bbe working on Alice protocol 2021-10-23 16:17:50 -04:00
Marcin Górny
20aee0be8f Add (again) the Bytes function for PrivateKeyPair 2021-10-23 21:44:23 +02:00
Marcin Górny
a48d688745 Add Bytes() public getter to Monero Key Pairs 2021-10-23 20:02:58 +02:00
noot
396eaa6b8c working on protocol interactions 2021-10-23 13:52:17 -04:00
noot
96a4b2d345 monero transfer from lock account workinggit add monero/ git add monero/ 2021-10-23 13:11:35 -04:00
noot
d994837a14 working on SendKeysMessage handling 2021-10-23 12:02:28 -04:00
noot
fc415117f1 start network messaging 2021-10-23 11:41:15 -04:00
noot
67fd190e64 begin p2p net 2021-10-23 10:12:37 -04:00
noot
0d7f5f4a31 add Alice interface, stub funcs 2021-10-23 07:22:06 -04:00
noot
cd80723f93 add Transfer RPC test 2021-10-23 06:47:15 -04:00
noot
e9e2912386 add monero.Client, begin implementation of Bob 2021-10-22 18:10:44 -04:00
noot
741be865a5 add monero package, able to generate monero keys 2021-10-22 16:53:42 -04:00