cnft-burn.ts 529 B

12345678910111213141516
  1. import * as anchor from "@coral-xyz/anchor";
  2. import { Program } from "@coral-xyz/anchor";
  3. import { CnftBurn } from "../target/types/cnft_burn";
  4. describe("cnft-burn", () => {
  5. // Configure the client to use the local cluster.
  6. anchor.setProvider(anchor.AnchorProvider.env());
  7. const program = anchor.workspace.CnftBurn as Program<CnftBurn>;
  8. it("Is initialized!", async () => {
  9. // Add your test here.
  10. const tx = await program.methods.initialize().rpc();
  11. console.log("Your transaction signature", tx);
  12. });
  13. });