Skip to content

Conversation

@rickyrombo
Copy link
Contributor

@rickyrombo rickyrombo commented Dec 20, 2025

Manages the reward manager program's registered senders and lookup table

Usage:
  rewards_cli [command]

Available Commands:
  completion    Generate the autocompletion script for the specified shell
  help          Help about any command
  register      Register a single Ethereum address as a sender in the rewards program
  sync          Register all senders for validators
  update-lookup Update the address lookup table with new sender accounts

Flags:
      --dry-run               Dry run mode - check accounts without registering
  -h, --help                  help for reward_manager_senders
  -k, --keypair string        Fee payer keypair file (overrides env default)
  -o, --openAudioURL string   OpenAudio SDK URL (overrides env default)
  -r, --rpc string            Solana RPC endpoint (overrides env default)

Use "rewards_cli [command] --help" for more information about a command.

Tested by running against prod - updated the lookup table and the registered senders (did not deregister - those attestations are not live on OpenAudio)

Copy link
Member

@raymondjacobson raymondjacobson left a comment

Choose a reason for hiding this comment

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

just a thought... since this is all permissionless anyway, it might be nice to wrap the logic into an endpoint and just have a script call that endpoint?

transactionSender := spl.NewTransactionSender(cfg.SolanaConfig.FeePayers, cfg.SolanaConfig.RpcProviders)

logger.Debug("Fetching oracles...")
oracles, err := getAntiAbuseOracles(cfg.AntiAbuseOracles)
Copy link
Member

Choose a reason for hiding this comment

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

any chance we want to call these claim authorities here? since we started using that terminology for artist coins rewards 🤷

Copy link
Contributor Author

@rickyrombo rickyrombo Dec 22, 2025

Choose a reason for hiding this comment

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

yeah maybe in the future we call these "AudioClaimAuthorities" or something, and the "RewardManagerState" the "AudioRewardManagerPool" etc etc

@rickyrombo
Copy link
Contributor Author

just a thought... since this is all permissionless anyway, it might be nice to wrap the logic into an endpoint and just have a script call that endpoint?

@raymondjacobson that's an interesting thought... I think we KISS for now...

@rickyrombo rickyrombo merged commit 139f32f into main Dec 22, 2025
5 of 6 checks passed
@rickyrombo rickyrombo deleted the mjp-rewards-cli branch December 22, 2025 19:05
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