Sequence Wallet client written in Go.
For documentation on sequence, please see our docs page.
make boostrap
-- will install node modules of ./testutil/chainmake start-testchain
-- 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 testchain separately with make start-testchain
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