Skip to content

Programs

Please note that all "Testnet" Programs are deployed to Solana Mainnet. This is to allow for proper liquidity on all functionality.

github.com/OpenAudio/solana-programs

Claimable Tokens

This program powers the Audius reward system, and allows Solana non-custodial token accounts to be created for Audius users that are represented by an Ethereum wallet. This program is also referred to as the "User Bank".

This program was developed originally to allow for a very specific use case: make it so users who only have ethereum accounts can receive solana token rewards. Leveraging the solana secp instructions, we derive token accounts belonging to a PDA on the claimable tokens program whose ability to transfer from is controlled by ethereum signatures. This allows for us to send rewards to a user and for them to be later claimed without needing them to even have an active session to create a receiving wallet.

Mainnet ProgramTestnet Program
Ewkv3JahEFRKkcJmpoKB7pXbnUHwjAyXiwEo4ZY2rezQ2sjQNmUfkV6yKKi4dPR8gWRgtyma5aiymE3aXL2RAZww

Payment Router

This program is responsible for distributing any SPL Token across different provided Solana associated token accounts, with amounts determined by a given percent split.

It is intended to be used with SPL-AUDIO and SPL-USDC. While payments can be made independently of the Payment Router program, it is designed to improve space-efficiency and usability off-chain.

Mainnet ProgramTestnet Program
paytYpX3LPN98TAeen6bFFeraGSuWnomZmCXjAsoqPasp28KA2bTnTA4oSZ3r9tTSKfmiXZtZQHnYYQqWfUyVa

Reward Manager

This program allows for Audius users to claim rewards given attestations from Node Operators that they have successfully completed a challenge.

For example, to claim the “I've completed my profile reward,” a user may ask for a set of Discovery Node Operators to provide a cryptographic proof that they have completed the challenge and submit that to chain. If the signatures are valid, tokens are dispensed

Mainnet ProgramTestnet Program
DDZDcYdQFEMwcu2Mwo75yGFjJ1mUQyyXLWzhZLEVFceiCDpzvz7DfgbF95jSSCHLX3ERkugyfgn9Fw8ypNZ1hfXp

Staking Bridge

This program has 2 main functions:

  1. Swap SPL-USDC tokens to SPL-AUDIO tokens via the Raydium AMM Program.
  2. Convert SPL-AUDIO tokens to ERC20-AUDIO tokens via the Wormhole Token Bridge.

The methods in this program are intentionally permissionless, allowing any user willing to pay transaction fees to interact.

The methods of the Staking Bridge are independent to reduce price impact of swaps and fees associated with bridging tokens.

Mainnet ProgramTestnet Program
stkB5DZziVJT1C1VmzvDdRtdWxfs5nwcHViiaNBDK31stkuyR7dTzxV1YnoDo5tfuBmkuKn7zDatimYRDTmQvj