Initial commit
This commit is contained in:
22
scripts/simulate.ts
Normal file
22
scripts/simulate.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
import { StressTester } from "../simulation/src/stress-test";
|
||||
import * as dotenv from "dotenv";
|
||||
|
||||
dotenv.config();
|
||||
|
||||
/**
|
||||
* Simulation Script
|
||||
* Runs comprehensive simulations
|
||||
*/
|
||||
async function main() {
|
||||
const rpcUrl = process.env.RPC_URL || "";
|
||||
|
||||
console.log("🧪 Running simulations...");
|
||||
|
||||
const tester = new StressTester(rpcUrl);
|
||||
await tester.runStressTests();
|
||||
|
||||
console.log("✅ Simulations complete!");
|
||||
}
|
||||
|
||||
main().catch(console.error);
|
||||
|
||||
Reference in New Issue
Block a user