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

6hrs 9mins ago
0 Comments

Overview

The @noble/curves package is a highly secure and thoroughly audited JavaScript library designed for elliptic curve cryptography (ECC). As a part of the noble cryptography suite, this package emphasizes security, minimalism, and ease of audit, all while maintaining zero or minimal dependencies. Its streamlined design and comprehensive feature set make it an ideal choice for a wide array of cryptographic applications, such as secure messaging, digital signatures, and key exchange protocols.

With its focus on robust security, straightforward auditability, and high performance, the @noble/curves package stands as a reliable solution for modern web and mobile applications that require strong cryptographic operations.

The JAM ElizaOS Plugin is an open-source integration module designed to connect ElizaOS—a AI operating system—with the JAM chain. The plugin provides a set of actions and providers for AI agents to access on-chain data and interact with common primitives, such as the PVM, RPC server and wallets, opening up the possibility for agentic interactions on JAM

Our plugin will leverage the bandersnatch curve for keypair generation, message signing and verification, as well as various VRF schemes.

Our team is driven by a passion for decentralized innovation. With extensive experience in blockchain development and AI, we aim to reduce technical complexity and accelerate innovation by creating a standardized tool that benefits developers striving to implement JAM nodes.

Project Details

  • Data Models / API Specifications:

The plugin will cover endpoints for:

  • Retrieving on-chain data (balances, block information, work reports, etc) Everything provided by the JAM RPC (Assuming implementations support it.
  • Querying governance proposals and voting results.
  • Interacting with parachain smart contracts.

  • Technology Stack
    • Integration Layer TypeScript.
    • Framework: ElizaOS Monorepo set up with all necessary prerequisites for a fully functional local testing environment.
    • Testing & Documentation: Comprehensive unit tests (>95%); detailed inline documentation and user guides. Screenshots of end-to-end deep testing using a test AI Agent
  • Core Documentation

We will provide full technical documentation including usage examples.

  • Prior Work:

Our team has successfully delivered an [Eliza Polkadot integration](https://github.com/w3f/Grants-Program/pull/2518) which demonstrates our ability to build robust, community-driven, open-source projects.

Paul has integrated the sr25519 curve for Polkadot in his widely used cryptography package.

  • Scope Limitations

This project focuses on creating the cryptographic primitives for Bandersnatch, VRF and developing a utility interface for JAM interactions using Eliza and does not include any token issuance, financial instruments, or business-oriented services.

Ecosystem Fit

  • Target Audience

Developers and researchers building JAM nodes, as well as future JAM users

  • Needs Addressed:
    • **@noble/curves** package offers a straightforward solution for developers using JavaScript, TypeScript, React, and Next.js, making it easier to work with the native bandersnatch package.
    • The Eliza plugin solves the complexities of managing bandersnatch keypairs, providing an intuitive AI-assisted chat interface.
  • Reputational Boost By integrating with a widely-used library, the JAM ecosystem can enhance its reputation within the broader developer community also getting featured by Paul for sponsoring the development/auditing which puts out a good precedent for the ecosystem.

Increased Visibility: As many developers already use the @noble/curves package, this collaboration could attract more attention to the Polkadot community, particularly among developers who may not yet be familiar with Polkadot's capabilities.

Team members

  • Paul Miller
    • Paul is the founding developer behind @noble packages which are used by different web3 ecosystems. He is well known for his contributions via @noble/curves and @noble/hashes packages which are directly/indirectly being used by the majority of the modern web3 protocols/toolings/platforms which includes even the forum you’re currently reading this proposal on!

[NPM Nobe curves](https://www.npmjs.com/package/@noble/curves)

[Website](https://paulmillr.com/noble/)

  • **Mihail Kirov:**

Lead Developer with experience in distributed systems and blockchain integration. Specializes in connecting AI systems with decentralized networks and has a strong track record in open-source contributions.

Mentored at the [Polkadot Prodigy](https://www.linkedin.com/posts/polkadotprodigy\_lets-welcome-mihail-kirov-who-is-joining-activity-7191345617330192384-DJbv?utm\_source=social\_share\_send\&utm\_medium=member\_desktop\_web\&rcm=ACoAAC27-YYBCPf5vbQMBXvlthYYXnOflSOp-9A) Hackathon
Developed the[ ElizaOS Polkadot Plugin](https://github.com/w3f/Grants-Program/pull/2518)

[GitHub: mikirov](https://github.com/mikirov) | [LinkedIn](https://www.linkedin.com/in/mihail-kirov/)

Up
Comments
No comments here