* Embeds monero-wallet-rpc instead of having the user start it separately.
* Location of all the files standardized and documented in docs/default-file-locations.md.
* Ethereum and Monero wallets will be created if they do not exist.
* New RPC API personal_balances added including swapcli support.
* Updated go-ethereum dep to 1.10.21
* Code now installs/uses an abigen that automatically matches the version of our go-ethereum in the go.mod
* solc was updated to 0.8.16 (in the docs, we don't install it, but anyone wanting to generate identical output needs it).
* Minimum go version is now 1.18
* golangci-lint updated to v1.48.0 (was needed to play nicely with go 1.18 and the new generated code)
* dleq/cgo-dleq submodule updated to latest version
* version independent monerod path with localhost-only binding
* fixed lint target and install script
* created 3rd ETH key constant to avoid race condition in tests
* updated run-integration-tests.sh with the same changes made to run-unit-tests.sh
* new design for paritioning out 2 unique keys to test packages
* restored accidentally deleted tests/alice.key
* removed websocket connection leaks from tests
* made file paths unique between tests with better file cleanup
* fix for the websocket connection leak commit
* reverted increase of GenerateBlocks (didn't mean to commit that)
* fixed maker/taker key that I had reversed
* fixed incorrect zero-balance check
* fixed comment on ClaimOrRefund
* added back sample script for installing go in /usr/local/go
* etchclient creation cleanup using t.Cleanup()
* minor cleanup to ganache_test_keys code
* initial dynamic monero-wallet-rpc implementation for tests
* converted monero tests to use dynamic monero-wallet-rpc services
* unit tests all using dynamic monero-wallet-rpc services
* fixed 2 tests that failed after moving to dynamic monero-wallet-rpc services
* fixed low balance issues in TestSwapState_NotifyClaimed
Co-authored-by: noot <36753753+noot@users.noreply.github.com>
* remove unused code, move some funcs around
* move monero/crypto to crypto/monero
* cleanup alice swap_state.go, move funcs
* move rpcclient and types package to common
* update contract to use secp256k1 curve verification
* update go contract bindings script and bindings
* cleanup rust code, move to its own folder
* remove commented out stuff
* go fmt
* add go wrapper around farcaster-dleq
* add unit tests for farcaster-dleq wrapper
* add dleq unit test for keys
* add swap.go claim test, worksgit status
* add swap.go refund tests
* lint
* update SendKeysMessage to include DLEqProof, update alice/bob generateKeys
* add dleq proof verification to alice/bob handlers
* move alice and bob to protocol package
* add common protocol funcs for generating/verifying dleq proof
* lint
* update alice to store secp256k1 pubkey commitments in contract, update alice/bob to use dleq secret when calling contract
* update alice unit tests
* fix bob unit tests
* update network msg size
* add build-dleq makefile step
* cleanup
* attempt to fix test
* skip inconsistent test on CI