{"repo":"walker9296/BLS12-381","free":true,"listed":false,"github":"https://github.com/walker9296/BLS12-381","clone":"git clone https://github.com/walker9296/BLS12-381.git","description":"sCrypt library - Zero-Knowledge Proofs - curve BLS12-381 步行者","language":"JavaScript","stars":13,"topics":["bitcoinsv","bls12-381","boilerplate","zkp"],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"# BLS12-381 library for BitcoinSV sCrypt BLS12-381 Library for Bitcoin Zero-Knowledge Proofs Smart Contract support. The current sCrypt zero-knowledge proof library is based on BN256, the BLS12-381 Library for Bitcoin is the first implementation of BLS12-381 curve pairing verification on Bitcoin. Now you can choose to use BN256 or BLS12-381 to implement zero-knowledge proof applications. Bitcoin is currently the only blockchain that supports zero-knowledge proofs and can choose multiple curves. For platform-agnostic applications, the choice requires a tradeoff between performance (BN254) and security (BLS12-381). We recommend choosing BLS12-381 as it is more secure, still fast enough to be practical, but slower than BN254. ・ BN254 (254bit, 32byte P): $\\Tiny{P = 0x30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd47}$ $\\Tiny{x = 0x44e992b44a6909f1}$ $\\Tiny{q = 0x30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001}$ ・ BLS12-381 (381bit, 48byte P): $\\Tiny{P = 0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaaab}$ $\\Tiny{x = 0xd201000000010000}$ $\\Tiny{q = 0x73eda753299d7d483339d80809a1d80553bda402fffe5bfeffffffff00000001}$ Reference: - Groth16 - Efficient zk-SNARKs on Bitcoin: Technical Explainer - BLS12-381 For The Rest Of Us Table of Contents 1. The curves 1. Twists 1. Efficient Pairing 1. Coordinate systems 1. Montgomery form 1. Prerequisites 1. How to run locally 1. Library 1. API 1. Verifying Key and Pro","default_branch":null,"files":null,"tree":[],"storefront":"/r/walker9296","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/walker9296/BLS12-381/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}