references.js 402 B

1234567891011121314
  1. const anchor = require('@project-serum/anchor');
  2. describe('references', () => {
  3. // Configure the client to use the local cluster.
  4. anchor.setProvider(anchor.Provider.env());
  5. it('Is initialized!', async () => {
  6. // Add your test here.
  7. const program = anchor.workspace.References;
  8. const tx = await program.rpc.initialize();
  9. console.log("Your transaction signature", tx);
  10. });
  11. });