This guide will help you get started with the toolkit-first v1 release path.
- Zig
0.14.1 libsecp256k1for strict verification paths- Basic understanding of the XRP Ledger
- Familiarity with Zig (optional but helpful)
cd /Users/seancollins/rippled-zigzig versionExpected output:
0.14.1zig buildzig build testscripts/run.shrippled-zig/
├── src/
│ ├── main.zig - current local entrypoint
│ ├── transaction.zig - transaction modeling and serialization entrypoints
│ ├── canonical_tx.zig - canonical XRPL field ordering and encoding
│ ├── crypto.zig - signing-hash generation and key utilities
│ ├── secp256k1*.zig - signature verification paths
│ ├── rpc.zig - JSON-RPC server + live method dispatch
│ └── rpc_methods.zig - selected live RPC method handling
├── build.zig - Build configuration
├── scripts/run.sh - Standard local entrypoint
├── scripts/gates/ - Quality/parity/conformance/security gates
├── README.md - Main documentation
└── LICENSE - ISC License
const payment = PaymentTransaction.create(
sender_account_id,
receiver_account_id,
Amount.fromXRP(100 * types.XRP), // 100 XRP
types.MIN_TX_FEE, // 10 drops
1, // sequence number
signing_pub_key,
);// Create XRP amount
const xrp_amount = types.Amount.fromXRP(1000 * types.XRP); // 1000 XRP
// Check if amount is XRP
if (amount.isXRP()) {
// Handle XRP
}const allocator = std.heap.page_allocator;
var key_pair = try crypto.KeyPair.generateEd25519(allocator);
defer key_pair.deinit();
// Get account ID
const account_id = key_pair.getAccountID();Edit the source files in the src/ directory.
./zig build testscripts/run.shIf you encounter build errors related to Zig version compatibility, ensure you're using Zig 0.14.1 exactly:
zig versionRead these first so your automation behavior matches the project's current safety boundaries:
PROJECT_STATUS.mddocs/CONTROL_PLANE_POLICY.mddocs/AGENT_AUTOMATION_POLICY.md
The active v1 release path has the following limitations:
- Canonical XRPL codec work is incomplete for the full supported set
-
submitremains intentionally narrow on the release path - Strict verification depends on
libsecp256k1 - Experimental runtime/peer modules remain out of v1 scope
- No mainnet-ready hardening or security audit evidence
- Close
#46,#47, and#61to finish the scope freeze and toolchain parity pass - Close
#48-#50to make Gate B represent the real v1 codec surface - Close
#51-#54to lock crypto and verification evidence - Close
#55-#57to freeze and validate the live RPC subset - Close
#58-#60to ship the public API, CLI, and examples - Close
#62to complete the release checklist and signed artifact path
- XRP Ledger Docs: https://xrpl.org/docs
- Original rippled: https://github.com/XRPLF/rippled
- Zig Documentation: https://ziglang.org/documentation/master/
- Consensus Paper: https://arxiv.org/abs/1802.07242
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Write tests for new functionality
- Ensure all tests pass
- Submit a pull request
- Read the main README.md
- Read
PROJECT_STATUS.mdfor canonical maturity/gate status - Check the source code documentation
- Review the original rippled documentation
- Open an issue on GitHub
ISC License - same as the original rippled project.