Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Lenster | 21,211 | a day ago | 73 | agpl-3.0 | TypeScript | |||||
Lenster is a decentralized and permissionless social media app built with Lens Protocol 🌿 | ||||||||||
Gun | 17,345 | 246 | 153 | a month ago | 236 | December 23, 2022 | 296 | other | JavaScript | |
An open source cybersecurity protocol for syncing decentralized graph data. | ||||||||||
Full Blockchain Solidity Course Py | 10,031 | 3 months ago | 215 | mit | ||||||
Ultimate Solidity, Blockchain, and Smart Contract - Beginner to Expert Full Course | Python Edition | ||||||||||
Wtf Solidity | 8,308 | 9 hours ago | 11 | other | Solidity | |||||
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用,每周更新1-3讲。Now supports English! 官网: https://wtf.academy | ||||||||||
Mist | 7,271 | 1 | 3 years ago | 16 | January 25, 2018 | 788 | gpl-3.0 | JavaScript | ||
[DEPRECATED] Mist. Browse and use Ðapps on the Ethereum network. | ||||||||||
Ethers.js | 7,041 | 26 | 7 days ago | 6 | April 11, 2023 | 440 | mit | TypeScript | ||
Complete Ethereum library and wallet implementation in JavaScript. | ||||||||||
Ethereum Org Website | 4,356 | 8 hours ago | 379 | mit | Markdown | |||||
Ethereum.org is a primary online resource for the Ethereum community. | ||||||||||
Lenstube | 4,183 | 8 hours ago | 33 | agpl-3.0 | TypeScript | |||||
Decentralized video-sharing social media platform, built using Lens protocol. 🌿 | ||||||||||
Free Web3 Resources | 3,381 | 25 days ago | 20 | mit | CSS | |||||
A list of FREE resources to make Web3 accessible to everyone. | ||||||||||
Typechain | 2,624 | 69 | 2,485 | 13 days ago | 84 | July 24, 2023 | 113 | mit | TypeScript | |
🔌 TypeScript bindings for Ethereum smart contracts |
easy way to connect users to dapps
Install the core Onboard library, the injected wallets module and optionally ethers js to support browser extension and mobile wallets:
NPM
npm i @web3-onboard/core @web3-onboard/injected-wallets ethers
Yarn
yarn add @web3-onboard/core @web3-onboard/injected-wallets ethers
Then initialize in your app:
import Onboard from '@web3-onboard/core'
import injectedModule from '@web3-onboard/injected-wallets'
import { ethers } from 'ethers'
const MAINNET_RPC_URL = 'https://mainnet.infura.io/v3/<INFURA_KEY>'
const injected = injectedModule()
const onboard = Onboard({
wallets: [injected],
chains: [
{
id: '0x1',
token: 'ETH',
label: 'Ethereum Mainnet',
rpcUrl: MAINNET_RPC_URL
},
{
id: 42161,
token: 'ARB-ETH',
label: 'Arbitrum One',
rpcUrl: 'https://rpc.ankr.com/arbitrum'
},
{
id: '0xa4ba',
token: 'ARB',
label: 'Arbitrum Nova',
rpcUrl: 'https://nova.arbitrum.io/rpc'
},
{
id: '0x2105',
token: 'ETH',
label: 'Base',
rpcUrl: 'https://mainnet.base.org'
}
]
})
const wallets = await onboard.connectWallet()
console.log(wallets)
if (wallets[0]) {
// create an ethers provider with the last connected wallet provider
const ethersProvider = new ethers.providers.Web3Provider(
wallets[0].provider,
'any'
)
const signer = ethersProvider.getSigner()
// send a transaction with the ethers provider
const txn = await signer.sendTransaction({
to: '0x',
value: 100000000000000
})
const receipt = await txn.wait()
console.log(receipt)
}
Onboard v1 migration guide
If you're coming from v1, we've created a migration guide for you.
For full documentation, check out the README.md for each package or the docs page here:
Core Repo
Injected Wallets
SDK Wallets
Hardware Wallets
Frameworks
If you would like to test out the current functionality of V2 in a small browser demo, then:
git clone [email protected]:blocknative/onboard.git
cd onboard
git checkout main
yarn
(if running a M1 mac - yarn install-m1-mac
)yarn dev