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 machine

  • Retrieve access to the SilenceLaboratories Shipyard.rs account and do:

  • 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