xrpl-std
Standard library for XRPL WebAssembly smart contracts.
This crate provides the core functionality needed to develop smart contracts for the XRP Ledger, including:
- Host function bindings for interacting with the XRPL
- Type definitions for XRPL objects and transactions
- No-std compatible implementation for WASM environments
Usage
Add this to your Cargo.toml:
[]
= "0.5.0-devnet5"
Example
use escrow_finish;
use TransactionCommonFields;
pub extern "C"
Features
- No-std compatible: Designed for WebAssembly environments
- Type-safe API: Strongly typed interfaces for XRPL objects
- Host function access: Direct bindings to XRPL validator functions
- Memory safety: Built-in panic handler and allocation management
Documentation
For more information about developing XRPL smart contracts, see the craft repository.
License
This project is licensed under the ISC License.