How do I Deploy an FMRI contract on Aleo?
Before proceeding with this article, I advise you to subscribe to my telegram channel, it is there that I publish first of all information about all testnet, ambassador programs and nodes.
Aleo is a Layer1 blockchain that uses Zeroâknowledge proof technology to create decentralized applications with high performance and the desired level of privacy.
In this guide, we will take a detailed look at the instructions for depositing a smart contract on the Aleo blockchain.
And the first thing to do is install the Leo Wallet
Next, we add the wallet address to the Greenlist, you have 5 minutes to do this
We receive test tokens in Discord (branch #faucet, write: /sendcredits wallet address 15)
Next, open the wallet, go to the settings, click show private key and copy it
Go to aleo.tools in the Development tab
Scroll down to the Deploy Program
Next to Program, insert the code:
program is your nickname.aleo;
function hello:input r0 as u32.public;input r1 as u32.private;add r0 r1 into r2;output r2 as u32.private;
In the Private Key field, insert the previously copied private key
In the Fee field we put 100001
Next to the Private Fee, remove the jackdaw and then click Deploy
If you did everything right, you should see the inscription Deployment Successful!
And a deposit transaction appears in the wallet
Subscribe to my telegram channel. If something didn't work out for you, you can ask me in TG. Write @mrjw777 in telegram.