mirror of
https://github.com/d0zingcat/solana-agent-kit.git
synced 2026-06-05 07:36:45 +00:00
fix(meteora): Exclude alpha vault due to package conflict
This commit is contained in:
29
test/tools.ts
Normal file
29
test/tools.ts
Normal file
@@ -0,0 +1,29 @@
|
||||
import * as dotenv from "dotenv";
|
||||
import { test_deploy_token } from "./deployToken";
|
||||
import { test_deploy_collection } from "./deployCollection";
|
||||
import { test_mint_nft } from "./mintNft";
|
||||
|
||||
dotenv.config();
|
||||
|
||||
async function main() {
|
||||
try {
|
||||
console.log("Starting Agent...");
|
||||
|
||||
// Test Tools
|
||||
await test_deploy_token();
|
||||
await test_deploy_collection();
|
||||
await test_mint_nft();
|
||||
} 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);
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user