(path: string)
| 2 | import { ClockworkProvider } from "@clockwork-xyz/sdk"; |
| 3 | |
| 4 | const keypairFromFile = (path: string): Keypair => { |
| 5 | return Keypair.fromSecretKey( |
| 6 | Buffer.from(JSON.parse(require("fs").readFileSync(path, "utf-8"))) |
| 7 | ); |
| 8 | }; |
| 9 | |
| 10 | // helpers |
| 11 | let lastThreadExec = BigInt(0); |