All Projects → chuwt → chia-bls-go

chuwt / chia-bls-go

Licence: MIT license
chia-bls-signature in go, chia bls 签名工具go实现

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to chia-bls-go

chiavdf
Chia VDF utilities
Stars: ✭ 51 (+59.38%)
Mutual labels:  chia, chia-blockchain
chialisp-web
A docusaurus Chialisp website
Stars: ✭ 54 (+68.75%)
Mutual labels:  chia, chia-blockchain
chia-monitor
🍃 A comprehensive monitoring and alerting solution for the status of your Chia farmer and harvesters.
Stars: ✭ 131 (+309.38%)
Mutual labels:  chia, chia-blockchain
pool-reference
Reference python implementation of Chia pool operations for pool operators
Stars: ✭ 452 (+1312.5%)
Mutual labels:  chia, chia-blockchain
dive-into-chia
chia深入研究以及一些工具(WIP)
Stars: ✭ 73 (+128.13%)
Mutual labels:  chia, chia-blockchain
chia-client
TypeScript client for Chia RPC interfaces.
Stars: ✭ 84 (+162.5%)
Mutual labels:  chia, chia-blockchain
farmr
A web dashboard for monitoring Chia farms. Also supports discord and email notifications.
Stars: ✭ 259 (+709.38%)
Mutual labels:  chia, chia-blockchain
chiapos
Chia Proof of Space library
Stars: ✭ 265 (+728.13%)
Mutual labels:  chia, chia-blockchain
chia-blockchain-gui
Chia blockchain GUI in electron/react
Stars: ✭ 312 (+875%)
Mutual labels:  chia, chia-blockchain
machinaris
An easy-to-use WebUI for crypto plotting and farming. Offers Plotman, MadMax, Chiadog, Bladebit, Farmr, and Forktools in a Docker container. Supports Chia, MMX, Chives, Flax, HDDCoin, and BPX among others.
Stars: ✭ 324 (+912.5%)
Mutual labels:  chia
chiagen
standalone chia generator
Stars: ✭ 13 (-59.37%)
Mutual labels:  chia
Chia-Plot-Status
GUI Tool for beginners and experts to Monitor and Analyse Chia Plotting log files, show health and progress of running plots and estimated time to completion. No setup, configuration or installation of python or whatever required. Just install and enjoy.
Stars: ✭ 187 (+484.38%)
Mutual labels:  chia
ChiaMonitor
An approach for monitoring multiple Chia harvester in one web app based dashboard
Stars: ✭ 152 (+375%)
Mutual labels:  chia-blockchain
bls-js
BLS signature implementation
Stars: ✭ 15 (-53.12%)
Mutual labels:  bls-signature
chia-log-analysis
Parses existing Chia plotter log files and builds a .csv file containing all the important details
Stars: ✭ 45 (+40.63%)
Mutual labels:  chia-blockchain
chiadog
A watch dog providing a peace in mind that your Chia farm is running smoothly 24/7.
Stars: ✭ 466 (+1356.25%)
Mutual labels:  chia
sgxwallet
sgxwallet is the first-ever opensource high-performance hardware secure crypto wallet that is based on Intel SGX technology. First opensource product on Intel SGX whitelist. Scales to 100,000+ transactions per second. Currently supports ETH and SKALE, and will support BTC in the future. Sgxwallet is under heavy development and use by SKALE network.
Stars: ✭ 50 (+56.25%)
Mutual labels:  bls-signature
chia-rosechain
chiarose(XCR) based on chia(XCH) source code fork, open source public chain
Stars: ✭ 378 (+1081.25%)
Mutual labels:  chia
prometheus-chia-exporter
Prometheus exporter for several chia node statistics
Stars: ✭ 30 (-6.25%)
Mutual labels:  chia-blockchain
hpool-miner
chia chia-miner hpool hpool-miner hpool-og-miner hpool-pp-miner Synology RaspberryPi
Stars: ✭ 22 (-31.25%)
Mutual labels:  chia

chia-bls-go

  • go版本chia签名, 参考python-impl实现部分功能,并非bls的完全实现

主要功能

  • 生成私钥
    • 助记词
    • seed
    • hexString
    • bytes
  • 签名
  • 验签
  • 多签
  • 多签验证

安装说明

go get github.com/chuwt/chia-bls-go

使用说明

加载私钥

  1. 助记词加载
func KeyGenWithMnemonic(mnemonic, password string) PrivateKey
  1. hex string加载
func KeyFromHexString(key string) (PrivateKey, error)
  1. bytes加载
func KeyFromHexString(key string) (PrivateKey, error)

私钥

  1. 生成bytes
func (key PrivateKey) Bytes() []byte
  1. 生成hex string
func (key PrivateKey) Hex() string
  1. 派生farmerSk
func (key PrivateKey) FarmerSk() PrivateKey
  1. 派生poolSk
func (key PrivateKey) PoolSk() PrivateKey 
  1. 派生walletSk
func (key PrivateKey) WalletSk(index int) PrivateKey
  1. 派生localSk
func (key PrivateKey) LocalSk() PrivateKey
  1. 生成SyntheticSk
func (key PrivateKey) SyntheticSk(hiddenPuzzleHash []byte) PrivateKey
  1. 生成公钥
func (key PrivateKey) GetPublicKey() PublicKey

公钥

  1. 生成指纹(fingerprint)
func (key PublicKey) FingerPrint() string
  1. 生成bytes
func (key PublicKey) Bytes() []byte
  1. 生成hex string
func (key PublicKey) Hex() string

签名

  1. 签名
func (asm *AugSchemeMPL) Sign(sk PrivateKey, message []byte)
  1. 验证
func (asm *AugSchemeMPL) Verify(pk PublicKey, message []byte, sig []byte) bool
  1. 多签
// 将多个签名联合在一起
func (asm *AugSchemeMPL) Aggregate(signatures ...[]byte) ([]byte, error)
  1. 多签验证
// 公钥数组,原始信息数组,多签返回的数据
func (asm *AugSchemeMPL) AggregateVerify(pks [][]byte, messages [][]byte, sig []byte) bool
  1. 前置公钥签名
// 前置公钥签名
SignWithPrependPK(sk PrivateKey, prependPK PublicKey, message []byte)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].