Skip to content
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

Added Hardhat quickstart, reworked smart contracts section #78

Closed
wants to merge 50 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
a62e14b
Added Hardhat quickstart, reworked smart contracts section
jpop32 Jan 29, 2021
485b622
wording. nits
Feb 2, 2021
5e734ec
typos
Feb 2, 2021
5c20153
typos
Feb 2, 2021
52e53ad
Revamp C-Chain API documentation and add eth_getAssetBalance
aaronbuchwald Jan 29, 2021
75835bc
Cleanup eth_getAssetBalance description
aaronbuchwald Jan 29, 2021
26e46c8
Update bech32 docs and add regex.
cgcardona Jan 28, 2021
07870fc
Add missing list item.
cgcardona Jan 28, 2021
445825f
Address PR comment.
cgcardona Jan 28, 2021
fdf2064
nits
Jan 29, 2021
6d86d46
GitBook: [master] 5 pages and 19 assets modified
Feb 1, 2021
a69528a
GitBook: [master] 2 pages modified
Feb 1, 2021
849259c
GitBook: [master] one page modified
Feb 2, 2021
7995c34
Update install script to check for curl
jpop32 Feb 3, 2021
9e147f0
GitBook: [master] 7 pages modified
Feb 3, 2021
0a9a9a8
GitBook: [master] 5 pages modified
Feb 3, 2021
720365d
GitBook: [master] one page modified
Feb 4, 2021
12b3369
Updated script to handle if the binary is missing
jpop32 Feb 5, 2021
27f228c
add log
Feb 5, 2021
3208001
GitBook: [master] 2 pages and 20 assets modified
Feb 5, 2021
09de9ed
GitBook: [master] one page modified
Feb 5, 2021
a8b9944
Stakeable instead of stackeable.
cgcardona Feb 5, 2021
9e0708b
Update using-truffle-with-the-avalanche-c-chain.md
Devilla Feb 2, 2021
3a80bf4
Update using-truffle-with-the-avalanche-c-chain.md
Devilla Feb 2, 2021
be48bd9
GitBook: [master] 2 pages modified
Feb 8, 2021
5d589ba
GitBook: [master] 66 pages modified
Avalanche-Rocky Feb 8, 2021
b513251
GitBook: [master] one page modified
Feb 8, 2021
3e92d76
GitBook: [master] one page modified
Feb 9, 2021
2f98574
Add tutorial for connecting metamask to figment.
cgcardona Feb 9, 2021
761646b
* Remove description
cgcardona Feb 9, 2021
d05783e
rewordings/nits
Feb 9, 2021
0a92c13
Add "Integrate Figment and Metamask" tutorial to Summary.
cgcardona Feb 9, 2021
a0c2df8
Fix typo.
cgcardona Feb 9, 2021
40acae6
Add link to Figment/Metamask tutorial to smart digital assets README.
cgcardona Feb 10, 2021
0b17b79
tesnet -> testnet typo :)
pawelnguyen Feb 10, 2021
a8daafd
GitBook: [master] 2 pages modified
Feb 12, 2021
b265fe7
Remove Figment tutorial for now.
cgcardona Feb 18, 2021
9c305dd
GitBook: [master] 66 pages and 21 assets modified
jpop32 Feb 22, 2021
cae775d
GitBook: [master] 66 pages and 21 assets modified
jpop32 Feb 24, 2021
0df0e05
Add docs for admin.getChainAliases RPC
cgcardona Feb 25, 2021
62010a4
Remove link to RaspberryPi video tutorial
jpop32 Feb 25, 2021
be01bba
Update the url of ERC20PresetMinterPauser.sol
codewiz Feb 26, 2021
165b092
GitBook: [master] 3 pages and 2 assets modified
Avalanche-Rocky Feb 26, 2021
0ed20e1
GitBook: [master] one page modified
Feb 27, 2021
6adc033
update command line args
Mar 1, 2021
38cc6cf
typos
Mar 1, 2021
4319ace
typos
Mar 1, 2021
97e9ddd
add genesis arg
Mar 2, 2021
144037e
Updated version of Hardhat quickstart
jpop32 Mar 4, 2021
c966e94
nits
jpop32 Mar 4, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
* Remove description
* Fix `us` -> `is` typo
* Remove ERC20 steps
  • Loading branch information
cgcardona authored and jpop32 committed Mar 4, 2021
commit 761646b82097850bb2d65a3cd1473df6ab8a8d9f
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
---
description: 'Provided by Developer Evangelist: Gabriel Cardona'
---
# Integrating Figment and Metamask

# Integrating Figment and Metamask

[Figment](https://figment.io) us a blockchain cloud service provider. They offer a free API gateway service for AVM, EVM and platform chain APIs which developers can use to build on Avalanche.
[Figment](https://figment.io) is a blockchain cloud service provider. They offer a free API gateway service for AVM, EVM and platform chain APIs which developers can use to build on Avalanche.

## Setup

Expand Down Expand Up @@ -52,12 +48,6 @@ If you are successully able to POST to the figment full node then you should get
}
```

ERC-20 tokens are the most fundamental and essential concept in Ethereum. As the Avalanche community and the ecosystem are growing, new use cases and projects that are running on Ethereum or different chains would be implemented to Avalanche. The token standard that would be used for the projects is not specific and everyone can create their own standard and own token.

Therefore, we will be creating our own mintable ERC-20 token and will mint it to any address we want. The token will be generated on Avalanche C-Chain and will be accessible on that chain.

The thing we have to mainly consider is that we will deploy a smart contract written with Solidity to Avalanche. This is the feature that Avalanche provides us- to be able to deploy any smart contract to the chain and no requirement for a new language specific contract concept to interact. Let’s look at how to create an ERC-20 contract and deploy it to avalanche C-Chain.

## Set up Metamask

The first thing we should set is a metamask wallet.
Expand All @@ -81,7 +71,6 @@ Now, we need to set these boxes with correct values.
* **Explorer**:
* **Mainnet:** [https://cchain.explorer.avax.network](https://cchain.explorer.avax.network/)
* **Fuji Testnet:** [https://cchain.explorer.avax-test.network](https://cchain.explorer.avax-test.network/)
* **Localnet:** n/a

![Image for post](https://miro.medium.com/max/358/1*q0HIWcI3okakwYV2glos0A.png)

Expand Down