optifi-cranker

1.0.0 • Public • Published

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

Dependencies (4)

Dev Dependencies (5)

Package Sidebar

Install

npm i optifi-cranker

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

167 kB

Total Files

56

Last publish

Collaborators

  • 0xpk