Important
THIS PACKAGE IS NOT READY FOR PRODUCTION USE AND CONTAINS UNAUDITED CODE. USE WITH CAUTION AND ENTIRELY AT YOUR OWN RISK. POSSIBILITY OF BREAKING CHANGES IN SUBSEQUENT VERSIONS.
Cross-platform Railgun Typescript SDK with support for kohaku's standard interfaces. The SDK is designed to interface with railgun's on-chain contracts, facilitating state syncing, transaction construction, proof generation, transaction submission via broadcasters, and proof submission.
pnpm add @kohaku-eth/railgunSee the tests for more examples.
Get your nix environment and env vars as explained in the root readme.
Run tests with this command (from root dir):
cd packages/railgun && just integration