mirror of
https://github.com/d0zingcat/solana-agent-kit.git
synced 2026-05-20 07:36:44 +00:00
25 lines
543 B
TypeScript
25 lines
543 B
TypeScript
import * as dotenv from "dotenv";
|
|
import { test_create_meteora_dynamic_amm_pool } from "./create_meteora_dynamic_amm_pool";
|
|
|
|
dotenv.config();
|
|
|
|
async function main() {
|
|
try {
|
|
console.log("Starting Agent...");
|
|
|
|
// Test Tools
|
|
await test_create_meteora_dynamic_amm_pool();
|
|
} catch (error) {
|
|
if (error instanceof Error) {
|
|
console.error("Error:", error.message);
|
|
}
|
|
process.exit(1);
|
|
}
|
|
}
|
|
|
|
if (require.main === module) {
|
|
main().catch(error => {
|
|
console.error("Fatal error:", error);
|
|
process.exit(1);
|
|
});
|
|
} |