跳到主要内容

Blockchain Awesome

Ethereum Awesome

Swap Fee

RewardSwapFee
0.3%Uniswap v1
0.3%Uniswap v20.05%
0.05%Uniswap v3 very stablecoin pair0.05%
0.05%Uniswap v3 stablecoin pair0.05%
0.30%Uniswap v3 most0.05%
1.00%Uniswap v3 low trade0.05%
9%-14% APRPolygon Matic Staking - ETH->Matic

Swap

Contracts

Dev

import { MetaMaskInpageProvider } from '@metamask/providers';

declare global {
interface Window {
ethereum: MetaMaskInpageProvider;
}
}

web3js vs ethersjs

  • ethersjs
    • MIT
    • modules - Provider, Contract, utils, Wallet
  • web3js
    • LGPL
    • window.web3 - metamask 已经不在注入 web3 ^
      • 使用 window.ethereum
    • modules - eth, bzz, shh, utils, *.net

汇率

curl 'https://min-api.cryptocompare.com/data/price?fsym=ETH&tsyms=BTC,USD,EUR'
curl 'https://api.coinbase.com/v2/exchange-rates?currency=ETH'

curl 'https://api.etherscan.io/api?module=stats&action=ethprice&apikey=YourApiKeyToken'

Testnets

ChainList

HexDecimalSymbolNetworkProofRPCExplorer
0x33ROPRopstenPoW/ethashhttps://ropsten.infura.io/v3/${INFURA_API_KEY}
0x44RINRinkebyPoA/Cliquehttps://www.rinkeby.io/
0x55GORGoerliPoA/Clique
0x2a42KOVKovanPoA/authority round
43113AVAXFUJIhttps://api.avax-test.network/ext/bc/C/rpchttps://testnet.snowtrace.io/
11155111ETHSepoliahttps://sepolia.dev/https://sepolia.etherscan.io/
Holesky
提示

Ropsten

Rinkeby

Goerli


网络

ChainList

HexDecimalSymbolNetworkRPCExplorer
0x11ETHEthereum Main Network (Mainnet)
0x3856BNBSmart Chainhttps://bsc-dataseed.binance.org/https://bscscan.com
137MATICPolygonhttps://polygon-rpc.comhttps://polygonscan.com/

rpc

explorer

apis

testnets

rpc

curl -X POST --data '{"jsonrpc":"2.0","method":"net_version","params":[],"id":67}'

Token

TokenList

主要 ECR-20 币

TokenNamePrimary Network
ETH以太坊
MATICERC20, Polygon
USDCUSD CoinCentre
USDT泰达币,TetherTRC20, ERC20, OKC, Polygon, Solana
DOGE狗狗币
ZRX0x Protocol Token
DAIDai Stablecoin
TokenNameNetwork
ADA
ATOM
AVAX
AXS
BCH比特币现金
BTC比特币
CRV
DOME
DOT
EOS柚子币
FIL
FTM
GALA
ICP
LINKChialink
LOOKS
LTC莱特币
LUNATerra
MANA
NFT
OKBOkx
PEOPLE
SAND
SHIBShiba Inu
SLP
SOL
SOS
TRX波场币
UNI
USDK
XRP瑞波币

Trade

Miner

参考

服务

Read

Web3

Web2Web3
AWS S3Filecoin
GithubRadicle
PaypalWallets
ZoomHuddle
SpotifyAudius
UpworkBraintrust
TwitterLens Protocol
MongoDBCeramic

Service

Math