Hooks Builder
With Hooks Builder developers are able to develop, test, debug and deploy smart contracts on the XRP Ledger by forking examples or building new ones from scratch. Fully in browser. No installs needed.
Introduction
XRPL Labs approached Equilibrium and Eiger to create a browser-based development tool for their new Hooks smart-contract amendment for XRP Ledger. We developed the user experience, front-end and backend of the Hooks Builder.
The main goal was to get more developers to create new Hooks to drive adoption and help develop Hooks ready for mainnet launch later. XRPL Labs also wanted to create a frictionless development experience for developers unfamiliar with the C language and new to Hooks.
Read more and try the Builder at hooks.xrpl.org
Fluid C-development in browser
The Builder's customised C language server helps developers get hints and catch Hook-specific errors, which are linked to the XRPL Hooks documentation while writing their code.
Easy compilation & deployment
The Hook C code compiles to an optimised WebAssembly file which the developers can deploy on the testnet with customisable parameters.
Testing Hooks with transactions
In addition to developing and deploying, testing Hooks was crucial to developing efficient Hooks. We created a UI for building test cases and running them on the testnet between different accounts to test various transactions with Hooks.
Save, share and fork
Since we wanted to drive the adoption rate as well, we incorporated easy saving & sharing of Hooks using GitHub Gists as the backend, which makes it easy to fork existing Hooks, and as low-friction version history.
“I’ve never worked with a team executing this independently, almost no input and a constant streak of the right design choices. Equilibrium has far exceeding our expectations on both a technical and sense for detail level.”