VSL (Verifiable Settlement Layer) is a decentralized protocol for validating and settling verifiable claims. This repository includes:
- Documentation for understanding and interacting with the system
- A Rust SDK for developers
Follow the instructions given here to run local instances of VSL and the explorer.
The docs
directory contains detailed information about the VSL system, including:
- Documentation of the VSL RPC server
- RPC API Reference: Description of all RPC endpoints.
- Automatically generated from the rust api
vsl-sdk/src/rpc_service.rs
- Automatically generated from the rust api
- JSON Schemas: Schemas for the structures used by the RPC endpoints in
docs/api/*.json*
- Automatically generated from the rust api
vsl-sdk/src/rpc_messages.rs
- Automatically generated from the rust api
- RPC API Reference: Description of all RPC endpoints.
- Expected interaction with VSL: Describes expected interactions with VSL.
- Message Signing Guide: Describes the signing process for RPC messages.
- Fee Schedule: Lists fees associated with different operations.
If you're interested in developing applications for VSL using Rust, the vsl-sdk
is a library providing
-
Definitions for the structures used by the RPC server messages and infrastructure to easily sign them and/or verify their signatures (
vsl-sdk/src/rpc_messages.rs
) -
The
jsonrpsee
definition of the VSL RPC server (vsl-sdk/src/rpc_service.rs
) -
A higher-level interface for interacting with the RPC server (
vsl-sdk/src/rpc_wrapper.rs
) which- Acts as wrapper to RPC calls on behalf of an owned account
- Builds and signs messages
- Encodes and decodes aguments to/from strings
- Acts as wrapper to RPC calls on behalf of an owned account
-
An example Faucet application developed using the vsl-sdk