Skip to content

feat(dsigner): add evmnet application#99

Merged
CluEleSsUK merged 5 commits into
mainfrom
feat/dsigner/evmnet
Sep 16, 2025
Merged

feat(dsigner): add evmnet application#99
CluEleSsUK merged 5 commits into
mainfrom
feat/dsigner/evmnet

Conversation

@azixus
Copy link
Copy Markdown
Contributor

@azixus azixus commented Sep 11, 2025

Add support for a new application, evmnet, that signs using the BLS_SIG_BN254G1_XMD:KECCAK-256_SVDW_RO_NUL_ DST.

The PR also replaces the --dst-suffix argument by an --application-arguments that can be used to choose between the following applications, which each have a distinct DST, without collision:

  • "blocklock:%chain_id%" where %chain_id% is a u64
  • "randomness:%chain_id%" where %chain_id% is a u64
  • "onlyswaps_verifier:%chain_id%" where %chain_id% is a u64
  • "evmnet"
  • "any:%dst_suffix%"

It also makes point compression optional by default, but it can be enabled by using the --sig-compression flag.

@azixus azixus requested a review from AnomalRoil September 11, 2025 10:47
```bash
# Run with minimal required arguments
cargo run --features=server --example dsigner_legacy_http -- \
--bls-key "your_bls_private_key_here" \
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest an encoding here or in the table (or provide a real example key) to make it user-proof (same for libp2p key)

@CluEleSsUK CluEleSsUK merged commit fcc2ac1 into main Sep 16, 2025
6 checks passed
@CluEleSsUK CluEleSsUK deleted the feat/dsigner/evmnet branch September 16, 2025 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants