Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Program

The amp-channel Solana program.


Deployment

FieldValue
Program ID (Mainnet)2d1B2PmumwYWuR82AbXAARTL1nrn8N7Vu9bLXTXUDmVA
Program ID (Devnet)2KQCaQ9j8YtewZ4QjmDfnsVANZXLBcPSYFhAj2eUNaPP
NetworksSolana Mainnet + Devnet
FrameworkAnchor 0.30.1
OwnerBPFLoaderUpgradeab1e11111111111111111111111
Sourcegithub.com/valeo-cash/amp/programs/amp-channel

Instructions

The program implements 6 instructions:

InstructionDescription
open_channelCreate a new channel and deposit tokens
top_upAdd funds to an existing channel
settleTransfer owed funds to the recipient
close_channelFinal settlement + refund + close accounts
set_delegateAssign consumption rights to a delegate
chain_channelCreate a downstream channel from an upstream vault

Full instruction reference →

Accounts

AccountDescription
ChannelState (PDA)Persistent financial state for a channel
Vault (PDA)SPL token account holding deposited funds

Channel state layout →

Future programs

The AMP ecosystem spec defines two additional programs (not yet deployed):

ProgramDescriptionStatus
amp-registryOn-chain service directorySpec complete
amp-reputationReputation scoring from channel historySpec complete