Sequence Wallet client written in Go.
TODO: add docs.. etc. examples, etc.
make boostrap
-- will install node modules of ./testutil/chainmake start-test-chain
-- starts the test ethereum chain (id 1337)- (in a separate terminal)
make test
-- runs test suite
Testing is super important, to run the tests just call make test
. As well, you can
run the test-chain separately with make start-test-chain
then in another terminal run make test
.
NOTE: Go by default will execute tests in parallel if you run go test -v ./...
, so ensure to pass -p 1
to set parallelization to just 1 (so it runs serially). The make test
command is already set to do this.
A. If you'd like to use a local version of a dependency/module, you can use the replace
directive in go.mod,
for example, lets say you want to use a local version of "ethkit" that hasn't been released with go-sequence,
you can add replace github.com/0xsequence/ethkit => /home/peter/Dev/0xsequence/ethkit
to your go.mod
Apache 2.0