Direct USDC charge on Solana.
v00 accepts the legacy SPL Token program and a type="transaction"
credential. Broadcast, fee-payer co-signing, simulation, and signature
replay reuse MPP.Methods.Solana. This module adds the USDC mint,
token-program, freeze, and instruction limits from draft-usdc-charge-00.
Summary
Functions
Advertise network, decimals 6, the legacy token program, and any fee payer.
Pull-mode transaction payload accepted by this profile.
Profile name solana.
Require an RPC URL, a Solana network, and a fee-payer key when sponsoring.
Verify a legacy SPL USDC transaction and return the USDC receipt.
Functions
@spec challenge_details(MPP.Intents.Charge.t()) :: map()
Advertise network, decimals 6, the legacy token program, and any fee payer.
@spec credential_type() :: String.t()
Pull-mode transaction payload accepted by this profile.
@spec name() :: String.t()
Profile name solana.
@spec validate_config!(map()) :: :ok
Require an RPC URL, a Solana network, and a fee-payer key when sponsoring.
@spec verify(map(), MPP.Intents.Charge.t()) :: {:ok, MPP.Receipt.t()} | {:error, MPP.Errors.t()}
Verify a legacy SPL USDC transaction and return the USDC receipt.