QuickStart
In this quickstart, you will be using a sample server which is created using the wallet provider service sdk
called the wallet provider service
which you can quickly get started with.
Access Setup:
Make sure you have
cargo
installed on your machineRetrieve access to the SilenceLaboratories Shipyard.rs account and do:
generate access token on Shipyard (Shipyard docs)
generate SSH key (how to doc)
register SSH key with Shipyard (Shipyard docs).
Create cargo config (details)
Login with cargo
cargo login --registry silencelaboratories ACCESS_TOKEN
NB: Replace ACCESS_TOKEN with the one generated in the previous step
Install example server:
Run command
cargo install wallet-provider-service --registry silencelaboratories
The code for the example service can be found in
~/.cargo/registry/src/git.shipyard.rs-*/wallet-provider-service-*/
Run example server:
Create a dedicated folder for the sample service, e.g.
mkdir WPServer && cd WPServer
Create a
.env
file there with sample config (details)Run with
wallet-provider-service
command
Add SDK as a dependency to your project:
# in Cargo.toml
[dependencies]
wallet-provider-service-sdk = { version = "0.1.1", registry = "silencelaboratories" }
Documentation
For a description of SDK classes, interfaces, and types, please refer to documentation.
Last updated