Skip to content

Commit

Permalink
Merge branch 'rebase-updates' into updates
Browse files Browse the repository at this point in the history
  • Loading branch information
cgcardona committed Mar 2, 2021
2 parents 2408c30 + d5ce364 commit a6f0721
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ Now we add the `SYM` token to each account in MetaMask. Add Token -> Custom Toke

You can now send `SYM` from the 1st account to the 2nd account. Go to the 1st account in MetaMask and click `Send SYM`, `Transfer between my accounts`, next select the 2nd account.

Next you'll land on the `Send Tokens` screen. Here you can set the amount to `3.14` and the Gas Price to `470`. This gas price is very important. If you set the value below `470` then the transaction won't go through so make sure and double confirm this is correct.
Next you'll land on the `Send Tokens` screen. Here you can set the amount to `507` and the Gas Price to `470`. This gas price is very important. If you set the value below `470` then the transaction won't go through so make sure and double confirm this is correct.

After clicking `Next` you'll land on the final confirmation screen. Make sure that everything looks good and click `Confirm`.

Expand Down
4 changes: 2 additions & 2 deletions contracts/Coin.sol
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
//SPDX-License-Identifier: mit
pragma solidity >= 0.6.2;
pragma solidity >= 0.6.2 < 0.8.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

contract CustomCoin is ERC20 {
string private TOKEN_NAME = "My ERC-20 Token";
string private TOKEN_SYMBOL = "SYM";

uint8 private constant TOKEN_DECIMALS = 2;
uint private constant TOTAL_SUPPLY = 1000000 * (10 ** TOKEN_DECIMALS);

Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"contributors": [
"Gabriel Cardona <[email protected]>"
],
"license": "MIT",
"scripts": {
"precompile": "rimraf ./build/",
"compile": "npx hardhat compile",
Expand Down

0 comments on commit a6f0721

Please sign in to comment.