1. Take sample contract as a basis, find it on GitHub
2. Open app://MetaContracts in MetaGate;
3. Click DeployContract;
4. In the FROM field select your wallet with a non-zero balance;
5. In the AMOUNT field, you can replenish contract wallet;
6. Copy and paste sample contract code;
7. Confirm. The contract will be stored in blockchain and executed on the virtual machine.