Search…
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
1
export GOBIN=$GOPATH/bin
Copied!

Automated Install Locally

Install via this make command.
1
make install
Copied!
Once you've installed swipecli and swiped, check that they are there {GOBIN} folder swipecli and swiped generated.
1
swipecli help
2
swiped help
Copied!

Start Standalone Full Stack

For development and running a full chain locally (your own separate network), use the following make command.
1
make -C build/docker reset-mocknet-standalone
Copied!

Format code

1
make format
Copied!

Build all

1
make all
Copied!

Test

Run tests
1
make test
2
# test with NATIVE SXP
3
NATIVE=true make test
Copied!
To run test live when you change a file, use...
1
go get -u github.com/mitranim/gow
2
make test-watch
Copied!
Last modified 3mo ago
Copy link