Short guide for your first dapp
- Before you begin:
You need to have a foundation of things and underestand things like wallets, contract addresses, RPC URL, dapps, gas limit, gas price
Before anything you must start with a history lesson
A Short History of #Ethereum
From a bird's eye view, blockchain technology has not been around for a long time. Though the foundational concepts…
How does Ethereum work, anyway?
Odds are you've heard about the Ethereum blockchain, whether or not you know what it is. It's been in the news a lot…
How Ethereum Works Part 2: Smart Contracts, Gas, and Dapps | ConsenSys
This article is the sequel to How Ethereum Works Part 1, which focuses on understanding Bitcoin. All the background you…
and 2 very important articles (and short) that will save you lots of $ in the future
A Guide to Gas for the #Ethereum Blockchain
Between January 1, 2018 and January 3, 2018, the average cost to execute a transaction on the Ethereum blockchain…
Ethereum: Everything you want to know about the Gas
Gas keeps Ethereum Blockchain alive. In this blogpost I’m going to explain what the Gas is? how it’s used? and why it’s…
A 101 Noob Intro to Programming Smart Contracts on Ethereum
For noobs to Ethereum development.
Do you know enough ?
There’s never-ending learning but…. If you don’t know the answer to all of the below questions, than this means that you don’t know the basics… and should address this issue by studying more
1. What is the difference between private key, public key and address what is a seed what is a nonce.
2. What is “wei”, “gwei”
3. How can you get the USD / ETH exchange rate from inside Ethereum ? What are Oracles ?
4. What is an HD Wallet ? Does Metamask have an HD wallet in it ?
5. What is RPC node? how you can connect to it
6. What are Metamask’s alternatives ?
7. What is the difference between RPC node and Signer Node.
8. What is gas price, what is gas limit ?
9. What happens if you set the gas price to low, what happens if you set the gas limit to low ?
10. What is ERC20 ? ERC721 ? ERC1155
11. What is the difference total supply, max supply, circulating supply
12. Who is Vitalik, Joseph Lubin ?
13. What does Consenys company do ?
14. What will ETH2.0 have over 1.0 ?
- Since setting up your own eth node is only for specific projects the usual things you want is to get an RPC connection to the ethereum (or any ETH compatible) blockchain. Usually by: , https://www.alchemy.com/ , https://www.quicknode.com/, https://blockdaemon.com/, https://infura.io (only ETH), https://nodesmith.io/ pick one you like and use ONLY the FREE plan (do not upgrade anything)
2. For testing purposes I suggest you use polygon testnet (called mumbai). [LATER EDIT: until they fix the problems with EIP1559 the testnet is unusable! Use something else, maybe rinkeby] Why? Because it’s the fastest testnet and you would want quick feedback on what you do.
Setting up polygon testnet:
In your metamask, add a new network and configure the RPC url from the one that you got at step #1.
All addresses that you have in metamask are shared between all ETH compatible blockchains.
Go to mumbai faucet https://faucet.polygon.technology/
leave network Mumbai, Token MATIC Token
and just put your wallet address there. Click submit, wait 1 min, click again submit. you should have ~2 MATIC in your wallet for testing purposes
3. 90% of the traffic will come from desktop — with metamask this means that this method has to work perfectly.
There are two ways to connect to metamask. 1. web3.js (old, ugly way… but lots of documentation), 2. ethers.js (new, simpler…less documentation). I would go with ethers.js
Start by reading this:
https://docs.ethers.io/ -> just read the intro part then continue to this
Building a DApp with Ethers.js - LogRocket Blog
Blockchain, Ethereum, DApps, smart contracts... If you are on the internet, chances are you've seen these words around…
at the end, having a very simple frontend, you should be able to transfer some simple erc20 token.
You will need an audit on your code. I recommend https://to.wtf as best auditors on the market :)
There are many good tutorials to follow and the learning never ends
Start with this one:
NFT Development — Into
In programming an NFT is not an image or a gif, it’s a number that has the owner a wallet.
then pick one ffrom this two
How to Write & Deploy an NFT (Part 1/3 of NFT Tutorial Series) | ethereum.org
This tutorial is Part 1 of a series on NFTs that will take you step by step on how to write and deploy a Non Fungible…