Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ sh -c "$(curl -sSfL https://release.solana.com/v1.18.18/install)"

[Install Anchor](https://www.anchor-lang.com/docs/installation)

Used for the Payment Router and Staking Bridge. Build script will ensure the matching version of Anchor is used (0.28.0 at time of writing) via `avm use`.
Used for the Payment Router, Staking Bridge, and Performance Rewards programs. Build script will ensure the matching version of Anchor is used (0.28.0 at time of writing) via `avm use`.

```
cargo install --git https://github.com/coral-xyz/anchor avm --locked --force
Expand All @@ -34,6 +34,10 @@ cargo install --git https://github.com/coral-xyz/anchor avm --locked --force

New programs should use [Anchor](https://www.anchor-lang.com/).

The [Performance Rewards](./performance-rewards/README.md) program finalizes
weighted validator attestations of deterministic, versioned Core snapshots and
distributes the fixed weekly node-operator reward pool.

Copy the IDL and types to the `@audius/spl` package for easier, standardized consumption, and create clients in `@audius/sdk` with sane defaults.

## Create audius/solana-test-validator for development
Expand Down
13 changes: 13 additions & 0 deletions performance-rewards/Anchor.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[features]
seeds = false
skip-lint = false

[programs.localnet]
performance_rewards = "GuzBj2tXuqJWu5KqinF2bba5E9Leqq6udebrGhLKboGV"

[registry]
url = "https://api.apr.dev"

[provider]
cluster = "localnet"
wallet = "id.json"
Loading