Hierarchy

  • default

Constructors

Properties

analytics: default
collection: default
connection: Connection
program: Program<Firethree>
provider: AnchorProvider
storage: default
wallet: Wallet

Methods

  • Create a project

    Parameters

    • __namedParameters: {
          creator: PublicKey;
          image: File;
          members: PublicKey[];
          name: string;
          shdwSize: string;
          threshold: number;
      }
      • creator: PublicKey
      • image: File
      • members: PublicKey[]
      • name: string
      • shdwSize: string
      • threshold: number

    Returns Promise<void>

  • Delete a project

    Parameters

    • name: {
          name: string;
      }

      Project name

      • name: string

    Returns Promise<void>

  • Get a project by name

    Parameters

    • name: string

      Project name

    Returns Promise<Project>

  • Get all projects

    Returns Promise<{
        authority: PublicKey;
        bump: number;
        image: string;
        name: string;
        publicKey: PublicKey;
        shdw: PublicKey;
        ts: number;
    }[]>

  • Get a project by PDA

    Parameters

    • pda: PublicKey

      Project PDA

    Returns Promise<{
        authority: PublicKey;
        bump: number;
        image: string;
        name: string;
        shdw: PublicKey;
        ts: number;
    }>

  • Parameters

    • publicKey: PublicKey

    Returns Promise<{
        authority: PublicKey;
        bump: number;
        image: string;
        name: string;
        publicKey: PublicKey;
        shdw: PublicKey;
        ts: number;
    }[]>

Generated using TypeDoc