---
title: "How we got the sr25519 JavaScript library funded and audited | GRYD"
description: "A case study in Polkadot OpenGov: funding Paul Miller's sr25519 library, coordinating an Oak Security audit through the dotPAL bounty, and what it cost."
url: https://www.gryd.wtf/blog/how-we-coordinated-the-scure-sr25519-audit/
source: GRYD (formerly Edgetributor SubDAO)
---

TN-003 · Technical note

# How we got the sr25519 JavaScript library funded and audited

A case study in Polkadot OpenGov: funding Paul Miller's sr25519 library, coordinating an Oak Security audit through the dotPAL bounty, and what it cost.

Published

14 Oct 2026

Author

GRYD

Reading time

2 min

Tags

 [#polkadot](https://www.gryd.wtf/blog/tags/polkadot/)  [#opengov](https://www.gryd.wtf/blog/tags/opengov/)  [#security](https://www.gryd.wtf/blog/tags/security/)  [#case-study](https://www.gryd.wtf/blog/tags/case-study/) 

Every Polkadot account signs with **sr25519**. For years, JavaScript tooling did that through WASM bindings. A pure, minimal, audited JavaScript implementation would make the ecosystem faster, safer and easier to maintain. This is how we helped make it happen, and what we learned.

## 1\. Finding the right builder (Aug 2024)

A GitHub issue asking for sr25519 support in `@noble/curves` had been open since August 2023. The library’s author, **Paul Miller**, said he was interested, subject to sponsorship. In August 2024 we offered to help draft a Polkadot treasury proposal, and promised that every step would be transparent and public.

## 2\. Funding development through OpenGov (Sep–Oct 2024)

We curated ** [referendum #1165](https://polkadot.subsquare.io/referenda/1165) ** in the Small Spender track. Feedback from **Jeff Burdges** (remove MuSig from scope; support OLAF separately) and **Shawn Tabrizi** reshaped the proposal before it went on-chain.

It **passed with 100% aye** and executed on 7 October 2024: 19,800 USDT for development, paid to the developer. We took no fee.

## 3\. Choosing an auditor (early 2025)

Paul Miller advised auditing the library before production use, and asked for a firm other than Cure53. We screened several firms with cryptography expertise, compared their offers and picked **Oak Security**.

## 4\. Switching funding routes (Apr 2025)

We first submitted the audit as treasury ** [referendum #1520](https://polkadot.subsquare.io/referenda/1520) **. When the **dotPAL bounty** turned out to be a better fit, we retitled the referendum “Vote Nay, opting PAL bounty” so voters would reject it, and moved the request to the bounty. The dotPAL curators approved it on 25 April 2025.

**Lesson:** OpenGov is not the only route. Bounties with expert curators can be faster and better matched for specialist work.

## 5\. Running the audit (May–Aug 2025)

-   **19 May:** service agreement signed through the Edgeware DAO Association, a Swiss association, as the legal counterparty.
-   **12–13 June:** v1.0 audit and differential fuzz testing reports published.
-   **July–August:** an additional cryptographic review, with fixes verified. v1.5 report published in August.

During the audit we relayed feedback between author and auditors, handled milestone payments and fiat liquidation, and tracked issues in a public sheet.

## 6\. Publishing the receipts (Sep 2025)

We posted a  [full report](https://forum.polkadot.network/t/micro-sr25519-post-audit-renamed-to-scure-sr25519-is-ready-to-improve-ecosystem-wide-devex-security-and-ux/14872)  to the Polkadot Forum: governing proposals, agreements, invoices, audit reports, a timeline, the auditors’ team, our role, and on-chain transaction links tracing every payment.

## 7\. Adoption (Dec 2025)

The library became **`@scure/sr25519`**, and **polkadot-js/common switched to it** ( [PR #1971](https://github.com/polkadot-js/common/pull/1971) , merged 8 December 2025).

## And one thing that didn’t work

We asked OpenGov to pay retroactively for about 624 hours of coordination ( [referendum #1751](https://polkadot.subsquare.io/referenda/1751) ). **It was rejected.** Public goods coordination is valuable but hard to fund after the fact. Next time we’d budget coordination into the original proposal.

_Need help taking a public good through funding, audit and adoption?  [Delegate it to us](https://www.gryd.wtf/delegate/) ._

Contents

1.   [011\. Finding the right builder (Aug 2024)](#1-finding-the-right-builder-aug-2024) 
2.   [022\. Funding development through OpenGov (Sep–Oct 2024)](#2-funding-development-through-opengov-sepoct-2024) 
3.   [033\. Choosing an auditor (early 2025)](#3-choosing-an-auditor-early-2025) 
4.   [044\. Switching funding routes (Apr 2025)](#4-switching-funding-routes-apr-2025) 
5.   [055\. Running the audit (May–Aug 2025)](#5-running-the-audit-mayaug-2025) 
6.   [066\. Publishing the receipts (Sep 2025)](#6-publishing-the-receipts-sep-2025) 
7.   [077\. Adoption (Dec 2025)](#7-adoption-dec-2025) 
8.   [08And one thing that didn’t work](#and-one-thing-that-didnt-work) 

§→

## Keep reading

 [All notes ↗](https://www.gryd.wtf/blog/) 

TN-00112 Oct 2026

###  [Why some of our OpenGov proposals were rejected (and what we learned)](https://www.gryd.wtf/blog/why-some-of-our-opengov-proposals-were-rejected/) 

An honest look at the Polkadot and Kusama proposals we wrote or curated that didn't pass: IIT Roorkee, SolidityScan, Studio 54, PolkArena and more.

#opengov #polkadot #governance

TN-00415 Oct 2026

###  [From Edgetributor SubDAO to GRYD: our story](https://www.gryd.wtf/blog/from-edgetributor-subdao-to-gryd/) 

How a few Edgeware DAO contributors became Edgetributor SubDAO, and then GRYD, a Web3 collective of builders, curators and educators from India.

#gryd #community #polkadot

TN-00213 Oct 2026

###  [How to host a Web3 hackathon or workshop in India: our playbook](https://www.gryd.wtf/blog/how-to-host-a-web3-hackathon-in-india/) 

Lessons from hosting Polkadot workshops at IITs and NITs, judging at ETHIndia 2024 and running the AssetHub Hackathon: formats, timelines, budgets and mistakes.

#hackathons #education #india

Next sheet is yours

## Build with us.

Contribute to open Web3 work, or bring us a project that needs expertise.

 [Become a contributor](https://www.gryd.wtf/contribute/)  [Delegate your work](https://www.gryd.wtf/delegate/)
