nwaku/examples/wakustealthcommitments
Ivan FB cfde7eea82
chore: Circuit relay (#3112)
* undo apt install libpcre (not circuit-relay related.)
* nat.nim: protect against possible exceptions when calling getExternalIP
* new external CLI argument, isRelayClient
* waku factory change to mount circuit hop proto by default
* waku_node: move autonat_service to a separate module
2024-10-28 09:17:46 +01:00
..
README.md feat(waku-stealth-commitments): waku stealth commitment protocol (#2490) 2024-03-06 18:44:33 +05:30
erc_5564_interface.nim chore: Bump dependencies for v0.31.0 (#2885) 2024-07-09 13:14:28 +02:00
nim.cfg chore: refactor relative path to better absolute (#2861) 2024-07-06 00:03:38 +02:00
node_spec.nim chore: Circuit relay (#3112) 2024-10-28 09:17:46 +01:00
stealth_commitment_protocol.nim chore: adding lint job to the CI (#2925) 2024-07-23 13:57:24 +03:00
wakustealthcommitments.nim chore: Bump dependencies for v0.31.0 (#2885) 2024-07-09 13:14:28 +02:00
wire_spec.nim chore: Bump dependencies for v0.31.0 (#2885) 2024-07-09 13:14:28 +02:00

README.md

wakustealthcommitments

This application/tool/protocol is used to securely communicate requests and responses for the Stealth Address Scheme

Uses TWN config as default, and content topic: /wakustealthcommitments/1/app/proto

Usage

  1. Clone the erc-5564-bn254 repo and build the static lib
gh repo clone rymnc/erc-5564-bn254
cd erc-5564-bn254
cargo build --release --all-features
cp ./target/release/liberc_5564_bn254.a <path-to-nwaku>

![NOTE] This static library also includes the rln ffi library, so you don't need to build it separately. This is because using both of them separately brings in a lot of duplicate symbols.

  1. Build the wakustealthcommitments app
cd <path-to-nwaku>
source env.sh
nim c --out:build/wakustealthcommitments  --verbosity:0 --hints:off -d:chronicles_log_level=INFO -d:git_version="v0.24.0-rc.0-62-g7da25c" -d:release --passL:-lm --passL:liberc_5564_bn254.a --debugger:native examples/wakustealthcommitments/wakustealthcommitments.nim
./build/wakustealthcommitments \
    --rln-relay-eth-client-address:<insert http rpc url> \
    --rln-relay-cred-path:<path-to-credentials-file> \
    --rln-relay-cred-password:<password-of-credentials-file>

This service listens for requests for stealth commitment/address generation, partakes in the generation of said stealth commitment and then distributes the response to the mesh.