solana-program-library/token-lending/js/cli/main.ts

21 lines
428 B
TypeScript

/**
* Exercises the token-lending program
*/
import { createLendingMarket } from "./token-lending-test";
async function main() {
// These test cases are designed to run sequentially and in the following order
console.log("Run test: createLendingMarket");
await createLendingMarket();
console.log("Success\n");
}
main().then(
() => process.exit(),
(err) => {
console.error(err);
process.exit(-1);
}
);