Run SwipeChain
Guide to set up SwipeChain Node on source code and script.
Ensure you have a recent version of go (ie
1.15
) and enabled go modules And have GOBIN
in your PATH
export GOBIN=$GOPATH/bin
Install via this
make
command.make install
Once you've installed
swipecli
and swiped
, check that they are there {GOBIN} folder swipecli and swiped generated.swipecli help
swiped help
For development and running a full chain locally (your own separate network), use the following
make
command.make -C build/docker reset-mocknet-standalone
make format
make all
Run tests
make test
# test with NATIVE SXP
NATIVE=true make test
To run test live when you change a file, use...
go get -u github.com/mitranim/gow
make test-watch
Last modified 2yr ago