Skip to content

Add remote signer keyring to reporter client via --remote-signer-addr flag - #33

Merged
0xSpuddy merged 2 commits into
tellor-io:mainfrom
cryptoriums:feat/remote-signer-keyring
Jun 25, 2026
Merged

Add remote signer keyring to reporter client via --remote-signer-addr flag#33
0xSpuddy merged 2 commits into
tellor-io:mainfrom
cryptoriums:feat/remote-signer-keyring

Conversation

@diorwave

@diorwave diorwave commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Adds support for signing reporter transactions via a remote signer (bridge-remote-signer),
so the reporter node no longer needs a local file keyring or password.

Changes

  • --remote-signer-addr flag gRPC address of the remote signer (e.g. localhost:9191); when set, the local keyring is bypassed entirely
  • reporter/client/remote_signer_keyring.go implements keyring.Keyring backed by the remote signer: Sign() hashes the message with sha256 and calls the SignRaw RPC; Key() returns the public key fetched via GetPublicKey RPC
  • reporter/client/client.go on startup, if --remote-signer-addr is set, dials the remote signer and uses GetAddress RPC to discover the account address; otherwise falls back to the existing local keyring path unchanged

Dependencies

Requires github.com/tellor-io/bridge-remote-signer/api (the lightweight gRPC-only submodule, no cosmos-sdk dependency). The replace directive in go.mod must be updated to a released tag once the bridge-remote-signer PR is merged.

@0xSpuddy
0xSpuddy self-requested a review June 3, 2026 12:53
@diorwave
diorwave force-pushed the feat/remote-signer-keyring branch from ad45763 to 3bd876e Compare June 4, 2026 07:07
Comment thread go.mod Outdated
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/tx/signing"
signerv1 "github.com/tellor-io/bridge-remote-signer/api/gen/signer/v1"

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.

please address lint check (golangci-lint run)

@0xSpuddy
0xSpuddy merged commit ca118f8 into tellor-io:main Jun 25, 2026
2 checks passed
@krasi-georgiev
krasi-georgiev deleted the feat/remote-signer-keyring branch June 25, 2026 14:08
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.

3 participants