This repository was archived by the owner on Aug 28, 2024. It is now read-only.
This repository was archived by the owner on Aug 28, 2024. It is now read-only.
Open
Description
const system = await ContractSystem.create();
let treasure = await system.treasure('name of treasure');
const sampleContract = await SampleTactContract.fromInit(treasure.address);
const contract = system.open(sampleContract);
await system.run();
let counter = await contract.getCounter();
console.log(counter); // Prints out counter value => Error: Contract is not active
Metadata
Metadata
Assignees
Labels
No labels