This is a sample code on how to use the xrpl-go SDK.
Run go get
to install the dependencies.
Then run go run .
in the project directory.
If you want to install the SDK in another project, you will need to run several go get
commands:
go get github.com/Peersyst/xrpl-go@v0.0.1-beta.1
go get github.com/Peersyst/xrpl-go/keypairs@v0.0.1-beta.1
go get github.com/Peersyst/xrpl-go/binary-codec/definitions@v0.0.1-beta.1
go get github.com/Peersyst/xrpl-go/xrpl/client/websocket@v0.0.1-beta.1
go get github.com/Peersyst/xrpl-go/xrpl/model/transactions@v0.0.1-beta.1