mirror of
https://github.com/logos-messaging/logos-chat.git
synced 2026-07-31 07:03:20 +00:00
Wires the existing mix_lez_chat simulation to drive the gifter's EIP-191 allowlist auth path end-to-end: * bumps vendor/nwaku and vendor/logos-lez-rln (and, transitively, logos-delivery-module and its bundled logos-delivery copy) to pick up the auth plugin, the auto-registering client's EIP-191 signing, and the new --mix-gifter-allowlist / --mix-gifter-auth-key CLI flags. * adds a `gifterAuthKey` knob on WakuConfig + the JSON config bridge in client_api so chat sender/receiver instances sign their gifter requests too. * commits 5 fixed test secp256k1 keys (one per non-gifter mix node and per chat client) under simulations/mix_lez_chat/fixtures/gifter_auth/ along with their derived addresses. * run_simulation.sh sources keys.env+addresses.env, sets `mixGifterAllowlist` on mix node 0, and threads the matching `mixGifterAuthKey` / `gifterAuthKey` into nodes 1-3 and the receiver/sender configs. Test fixtures only — keys must never be reused outside this sim.
7 lines
350 B
Bash
7 lines
350 B
Bash
# Ethereum addresses derived from keys.env. Keep in sync if those keys change.
|
|
ADDR_MIX1=0x8ba6d3237e6f2c84b0e3d71aa57bc5869d3b5218
|
|
ADDR_MIX2=0x8e3d4d0a713087e2263e2fcdec894c283c777dcc
|
|
ADDR_MIX3=0xca282bbf8bf3636e15af3ad8caf11cdd38bf35d8
|
|
ADDR_SENDER=0x0b6872aaae7a2d4f3c701793cde57b93337f4d4a
|
|
ADDR_RECEIVER=0xb5dda07309f5ab06e0847f6036c305ea9ae26937
|