Skip to content

Commit 072c7bc

Browse files
committed
State hardcoded params
1 parent 28834f7 commit 072c7bc

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@ console.log(verify(msg, pk, sig)); // true
2727

2828
## Spec versioning
2929

30+
This library has a hardcoded configuration compatible with Eth2.0 spec:
31+
32+
| Setting | value |
33+
| -------------- | --------------------------------------------- |
34+
| PK_IN | `G1` |
35+
| HASH_OR_ENCODE | `true` |
36+
| DST | `BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_POP_` |
37+
| RAND_BITS | `64` |
38+
3039
> [spec](https://github.com/ethereum/eth2.0-specs/blob/v0.11.1/specs/phase0/beacon-chain.md#bls-signatures)
3140
3241
> [test vectors](https://github.com/ethereum/eth2.0-spec-tests/tree/master/tests/bls)

0 commit comments

Comments
 (0)