payment-program 0.1.7

Schedule one-time and recurring token transfers on Solana
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use anchor_lang::prelude::*;

use super::Role;

pub const SEED_PAYMENT_NAMESPACE: &[u8] = b"pay_ns";

#[account]
pub struct PaymentNamespace {
    pub party: Pubkey,
    pub role: Role,
    pub bump: u8,
}