-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "Deploy an ERC20" with remix tutorial #344
base: staging-ah-smart-contracts
Are you sure you want to change the base?
Add "Deploy an ERC20" with remix tutorial #344
Conversation
3. Now, paste the following ERC20 contract code into the editor | ||
|
||
```solidity title="MyToken.sol" | ||
--8<-- 'code/tutorials/smart-contracts/deploy-erc20/MyToken.sol' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this snippet formatted with prettier or something like that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, we don't have a prettier set up for solidity files. This is exactly how the openzeppelin wizard displays the contract
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for raising this! I've got a ticket to make sure that we add formatting for Solidity files. But this looks good
|
||
4. MetaMask will pop up - review the transaction details. Click **Confirm** to deploy your contract | ||
|
||
![](/images/tutorials/smart-contracts/deploy-erc20/deploy-erc20-8.webp){: .browser-extension} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it possible to center this image?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is centered, you should pull the latest polkadot-mkdocs
version (which contains this PR).
Co-authored-by: 0xLucca <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job!
3. Now, paste the following ERC20 contract code into the editor | ||
|
||
```solidity title="MyToken.sol" | ||
--8<-- 'code/tutorials/smart-contracts/deploy-erc20/MyToken.sol' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for raising this! I've got a ticket to make sure that we add formatting for Solidity files. But this looks good
Co-authored-by: Erin Shaben <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>
Co-authored-by: Erin Shaben <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
…ploy-an-erc-20-with-remix
This PR adds a tutorial to deploy an ERC20 using polkadot remix IDE