Options
All
  • Public
  • Public/Protected
  • All
Menu

Contains all of the necessary devnet Switchboard accounts to clone to localnet

Hierarchy

  • SwitchboardTestEnvironment

Implements

Index

Constructors

Properties

additionalClonedAccounts?: Record<string, PublicKey>
crank: PublicKey
crankBuffer: PublicKey
idlAddress: PublicKey
oracle: PublicKey
oracleAuthority: PublicKey
oracleEscrow: PublicKey
oraclePermissions: PublicKey
programDataAddress: PublicKey
programId: PublicKey
programState: PublicKey
queue: PublicKey
queueAuthority: PublicKey
queueBuffer: PublicKey
switchboardMint: PublicKey
switchboardVault: PublicKey
tokenWallet: PublicKey

Methods

  • getAccountCloneString(): string
  • writeAll(payerKeypairPath: string, filePath: string): void
  • Write switchboard test environment to filesystem

    Parameters

    • payerKeypairPath: string
    • filePath: string

    Returns void

  • writeEnv(filePath: string): void
  • Write the env file to filesystem

    Parameters

    • filePath: string

    Returns void

  • writeJSON(filePath: string): void
  • writeScripts(payerKeypairPath: string, filePath: string): void

Generated using TypeDoc