This example presents a factory of donation contracts. It allows to:
- Create a sub-account of the factory and deploy the stored contract on it (
create_factory_subaccount_and_deploy). - Change the stored contract using the
update_stored_contractmethod.
Clone this repository locally or open it in gitpod. Then follow these steps:
npm installDeploy your contract in a sandbox and simulate interactions from users.
npm test- Learn more about the contract through its README.
- Check our documentation.