1.0.0 • Published 2 years ago

optifi-cranker v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

optifi-cranker

OptiFi cranker program - it will contineously try sending transations to OptiFi onchain Program

How to run

  • Create a new file .env under the root of the project with the following contents:
NODE_ENV=development
OPTIFI_PROGRAM_ID=<YOUR_OPTIFI_PROGRAM_ID>
OPTIFI_WALLET=<YOUR_SOLANA_WALLET_FILE_PATH>
CLUSTER=<devnet or mainnet>
RPC_ENDPOINT=<YOUR_SOLANA_RPC_ENDPOINT>
RPC_ENDPOINT_2=<YOUR_SECOND_SOLANA_RPC_ENDPOINT>
RPC_ENDPOINT_3=<YOUR_THIRD_SOLANA_RPC_ENDPOINT>
RPC_ENDPOINT_4=<YOUR_FORTH_SOLANA_RPC_ENDPOINT>
  • Install dependencies
npm i
  • Start the program
npm start