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