wallet-adapter
hardhat
Our great sponsors
wallet-adapter | hardhat | |
---|---|---|
12 | 126 | |
1,355 | 6,780 | |
7.7% | 3.1% | |
8.7 | 9.9 | |
6 days ago | 1 day ago | |
TypeScript | TypeScript | |
Apache License 2.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
wallet-adapter
-
Creating a Custom Solana Connect Wallet UI with React and Chakra UI
If you have worked with the Solana Wallet Adapter before, you will know that it is very easy to set up a Connect Wallet button with a decent modal.
-
Getting Closer: The Mobile Era Of Web3 With Saga And Solana Mobile Stack
Mobile Wallet Adapter is an open protocol for connecting dApps and wallets on mobile devices. Mobile Wallet Adapter is for any Android device, not just Saga – and it’s ready now. There are two wallets available today that support the Mobile Wallet Adapter protocol – Phantom and Solflare – with more wallets in the process of their own integrations. If you are a developer with an existing dApp, now is the time to upgrade with mobile support. You can find a guide to upgrading here.
-
Want some help with solana wallet integration.
This is what we are using right now: https://github.com/solana-labs/wallet-adapter
-
Open Source JS Library - Create Your Own Solana NFT Marketplace in Minutes
Note: Your website needs a way for users to connect their wallet, so we assume that you have Solana wallet adapter set up. This is likely to be the case if you have already done primary sales of your NFTs with Candy Machine v2 or Candy Machine v1.
-
Connect Solana wallets on Mobile Apps
Hello, I'm a mobile software engineer, and i am getting into web3 & solana. I looked for a solution to connect my app to a solana wallet using react native, but i don't seem to find any solution for this (react native or even mobile apps in general). Is there a solution like https://github.com/solana-labs/wallet-adapter for mobile apps ? Is connecting a solana wallet to a mobile app even possible as we speak ?
-
The Complete Guide to Full Stack Solana Development with React, Anchor, Rust, and Phantom
import './App.css'; import { useState } from 'react'; import { Connection, PublicKey } from '@solana/web3.js'; import { Program, Provider, web3 } from '@project-serum/anchor'; import idl from './idl.json'; import { PhantomWalletAdapter } from '@solana/wallet-adapter-wallets'; import { useWallet, WalletProvider, ConnectionProvider } from '@solana/wallet-adapter-react'; import { WalletModalProvider, WalletMultiButton } from '@solana/wallet-adapter-react-ui'; require('@solana/wallet-adapter-react-ui/styles.css'); const wallets = [ /* view list of available wallets at https://github.com/solana-labs/wallet-adapter#wallets */ new PhantomWalletAdapter() ] const { SystemProgram, Keypair } = web3; /* create an account */ const baseAccount = Keypair.generate(); const opts = { preflightCommitment: "processed" } const programID = new PublicKey(idl.metadata.address); function App() { const [value, setValue] = useState(null); const wallet = useWallet(); async function getProvider() { /* create the provider and return it to the caller */ /* network set to local network for now */ const network = "http://127.0.0.1:8899"; const connection = new Connection(network, opts.preflightCommitment); const provider = new Provider( connection, wallet, opts.preflightCommitment, ); return provider; } async function createCounter() { const provider = await getProvider() /* create the program interface combining the idl, program ID, and provider */ const program = new Program(idl, programID, provider); try { /* interact with the program via rpc */ await program.rpc.create({ accounts: { baseAccount: baseAccount.publicKey, user: provider.wallet.publicKey, systemProgram: SystemProgram.programId, }, signers: [baseAccount] }); const account = await program.account.baseAccount.fetch(baseAccount.publicKey); console.log('account: ', account); setValue(account.count.toString()); } catch (err) { console.log("Transaction error: ", err); } } async function increment() { const provider = await getProvider(); const program = new Program(idl, programID, provider); await program.rpc.increment({ accounts: { baseAccount: baseAccount.publicKey } }); const account = await program.account.baseAccount.fetch(baseAccount.publicKey); console.log('account: ', account); setValue(account.count.toString()); } if (!wallet.connected) { /* If the user's wallet is not connected, display connect wallet button. */ return (
{ !value && (Create counter) } { value && Increment counter } { value && value >= Number(0) ? ({value}
) : (Please create the counter.
) } -
Is there a library that unifies connecting to wallets similar to what Solana has?
Solana has the wallet adapter library which provides a convenient interface for connecting to many different wallets. Is there anything similar for ETH or do I have to write and maintain custom logic for each different wallet?
-
TheWheel, a first experience programming on Solana
Code of TheWheel has been organized around the Solana–wallet-adapter project. I first ran a git clone command on the project before adding my files one by one in same repository.
- Need help finding how to do auth with Solana wallets
-
Trouble Importing Token from @solana/spl-token (npm and node)
First line of the example here: https://github.com/solana-labs/wallet-adapter/issues/189
hardhat
-
How to Register a Smart Contract to Mode SFS with Hardhat.
Hardhat is an Ethereum development framework for creating, testing and deploying smart contracts. It includes a suite of tools that aid in developing smart contracts and managing the complete development process, allowing developers to write scripts, compile, test, and deploy efficiently.
-
Build an AI-powered NFT generator with TS, GPT, Polygon and CASE (Part 1/2)
That's it for the first part ! Then we will use Hardhat to deploy our Solidity Contract on the Polygon testnet, and then overload our mintNFT() function with the actual minting. If you want to see the Part 2 quickly, give us some love and we will execute ! ❤️❤️❤️
-
Upgradeable smart contracts
To keep things simple and visible (in case you cant deploy), we will use Sepolia testnet blockchain and Hardhat as development environment, so to configure hardhat to use sepolia we need to add the following configuration to the hardhat.config.js file:
-
How do I deploy an ethereum contract with hardhat and my Trezor wallet?
The documentation has no mention of Trezor wallet support. According to this GitHub issue I could try out this Frame application, but I was wondering if there was a simpler solution that didn't require installing some 3rd party application.
-
Hardhat Smartcontract Lottery (Raffle) Using TypeScript and latest versions of everything
I have two skipped tests because at the time of writing this article events firing doesn't work properly in the latest version. Link to the github issue
-
SKALE Ecosystem Update. Explore the Thriving Ecosystem that is Driving Innovation on SKALE
Hardhat
-
Learn To Become a Web3 Developer by Exploring the Web3 Stack
Other options include Remix (an IDE), ChainIDE, Anchor (for Solana), Hardhat, and lots of others. Web3 dev environments have come a long way in a short time, and there’s probably something out there for whatever you need.
-
The 4 Best dApp Frameworks for First-Time Ethereum Developers
Hardhat allows developers to build, test, and deploy smart contracts and dApps using a variety of tools and libraries. With over 114K users on GitHub and an active Discord community, Hardhat is a hugely popular framework for dApp developers. Much of its popularity can be attributed to its rich list of features, flexibility and the Hardhat Ethereum Virtual Machine for testing and debugging smart contracts.
-
Advancing dApp development with Hardhat Indexing: A Game-Changer for Ethereum Devs
The hardhat-ethers plugin adds the ethers.js library to the Hardhat node, making it possible to use its functionalities. It's possible to use it to deploy the contract, but since our goal is to create transactions, we can also add some code to do that as well.
-
Where are some of the best places to learn about Smart Contracts?
Also learning how to use one of these development environments instead of Remix is necessary: 1. Hardhat: https://hardhat.org 2. Foundry: https://github.com/foundry-rs/foundry
What are some alternatives?
complete-guide-to-full-stack-solana-development - Code examples for the blog post titled The Complete Guide to Full Stack Solana Development with React, Anchor, Rust, and Phantom
truffle - :warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
React - The library for web and native user interfaces.
foundry - Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.
solana-escrow - Reference Implementation for the guide https://paulx.dev/blog/2021/01/14/programming-on-solana-an-introduction/
ganache - :warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
web3modal - A single Web3 provider solution for all Wallets
remix-ide - Documentation for Remix IDE
zksync - zkSync: trustless scaling and privacy engine for Ethereum
openzeppelin-contracts - OpenZeppelin Contracts is a library for secure smart contract development.
candy-machine-v2-responsive-ui - Solana Candy Machine V2 with a Prod-ready and easy to customize responsive UI.
ethers.js - Complete Ethereum library and wallet implementation in JavaScript.