Polkassembly Logo

Create Pencil IconCreate
OpenGov

Notice: Polkadot has migrated to AssetHub. Balances, data, referenda, and other on-chain activity has moved to AssetHub.Learn more

View All Discussion

Expansion of @noble/curves with Bandersnatch, VRF and Eliza for ease of use

userEsscrypt
4 months ago
PolkadotJAM
AI

Overview

@noble/curves is a secure and audited JavaScript library for elliptic curve cryptography, emphasizing high security, minimal dependencies, and ease of audit.

Built on top is the JAM ElizaOS Plugin - an open-source integration module designed to connect ElizaOS—an AI operating system—with the JAM chain. The plugin provides a standardized set of actions and providers for agents to access on-chain data and interact with primitives such as the PVM, RPC server, and wallets. This project will leverage the Bandersnatch curve for keypair generation, message signing, and verification.

The streamlined design and comprehensive feature set of the noble curves suite make it an ideal choice for enabling AI-agent interactions on JAM.


About Paul Miller

Paul is the founding developer behind the @noble packages which are used across multiple Web3 ecosystems. He is well known for his contributions via @noble/curves and @noble/hashes, packages directly or indirectly utilized by the majority of modern Web3 protocols, toolings, and platforms. His work includes the highly regarded sr25519 implementation for Polkadot.


Importance

The JAM ecosystem currently lacks a robust, TypeScript-based implementation of the Bandersnatch curve and related cryptographic primitives. While @noble packages like ed25519 and sr25519 exist, there is no native implementation for Bandersnatch, message signing, and VRF verification in JavaScript/TypeScript.

This gap presents a challenge for developers and researchers working with JAM nodes, particularly for wallet management, on-chain data interaction, and cryptographic operations. The JAM ElizaOS Plugin addresses these challenges by providing:

  • A reliable and auditable Bandersnatch implementation.
  • Actions and providers for seamless AI-agent interactions with JAM.
  • Cross-chain compatibility inspired by the existing Polkadot ElizaOS plugin.

Impact

Developer Tooling Benefits

  • Enhanced Simplicity: Provides intuitive APIs for JAM wallet creation, message signing/verification, and on-chain data access.
  • Standardized Bandersnatch Implementation: Reduces the complexity of managing Bandersnatch keypairs and VRFs for JAM nodes.
  • Improved Security: Built atop @noble/curves, offering minimal dependencies, robust audits, and cryptographic best practices.

Marketing Benefits

  • Reputational Boost: By sponsoring development and audits of important and used foundational projects, the JAM ecosystem can establish itself as a leader in developer experience.
  • Increased Visibility: Integration with @noble/curves could attract new developers from broader Web3 communities who are already familiar with the noble suite.

Esscrypt's Role

We came across the @noble packages while preparing for our JAM integration. Seeing the lack of Bandersnatch support, we initiated this collaboration with Paul to build the JAM ElizaOS Plugin.

In this process, the Esscrypt (or contributors) will handle coordination, documentation, and reporting. Esscrypt and its Founder Mihail will handle all M2 deliverables.


Additional Information

  • Previous work: ElizaOS Polkadot Plugin
  • Paul's implementation of sr25519 curve: scure-sr25519

Comments (0)

PleaseLogin to comment

Help Center

Report an Issue
Feedback
Terms and Conditions
Github

Our Services

Docs
Terms of Website
Privacy Policy

A House of Commons Initiative.

Polka Labs Private Limited 2026

All rights reserved.

Terms and ConditionsTerms of Website
Privacy Policy