Function createHarvestInstruction

  • Parameters

    • connection: Connection

      web3.Connection object

    • playerPublicKey: PublicKey

      Player's public key

    • atlasMint: PublicKey

      Atlas mint address

    • shipMint: PublicKey

      Ship mint address

    • programId: PublicKey

      Deployed program ID for the SCORE program

    Returns Promise<FactoryReturn>