Class TokenFaucet

Hierarchy

  • TokenFaucet

Constructors

Properties

connection: Connection
context?: BankrunContextWrapper
mint: PublicKey
opts?: ConfirmOptions
program: Program<Idl>
provider: AnchorProvider
wallet: IWallet

Methods

  • Parameters

    • props: {
          callback: ((accountInfo: Account) => void);
          userPubKey: PublicKey;
      }
      • callback: ((accountInfo: Account) => void)
          • (accountInfo: Account): void
          • Parameters

            • accountInfo: Account

            Returns void

      • userPubKey: PublicKey

    Returns Promise<boolean>

Generated using TypeDoc