This PR adds two simple smart contracts showcasing all the basic building blocks of writing smart contracts, including:
defining and emitting an event
unit testing
accepting token payments
cross-contract calls
transferring tokens
and more (described in the associated README).
The README.md itself contains short descriptions of all techniques used when writing the contracts. There's also a description about deploying it to Contracts UI.
What will follow will be a simple frontend that interacts with the deployed contracts showing how to publish transaction to a chain (signing it with polkadotjs app extension), how to await finalization, read the results, etc.
This PR adds two simple smart contracts showcasing all the basic building blocks of writing smart contracts, including:
The
README.md
itself contains short descriptions of all techniques used when writing the contracts. There's also a description about deploying it to Contracts UI.What will follow will be a simple frontend that interacts with the deployed contracts showing how to publish transaction to a chain (signing it with polkadotjs app extension), how to await finalization, read the results, etc.