foundry
wallet-adapter
Our great sponsors
foundry | wallet-adapter | |
---|---|---|
39 | 12 | |
7,530 | 1,346 | |
3.3% | 7.1% | |
9.9 | 8.7 | |
4 days ago | 10 days ago | |
Rust | TypeScript | |
Apache License 2.0 | Apache License 2.0 |
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.
foundry
- I need to buy goETH
-
Any tool for committing the same change across multiple repos?
I realize that I want that change applied to all of my projects which use the same stack (e.g. all of my Solidity projects built with Foundry)
-
Foundry: add a cheatcode
We scratched the surface of Foundry’s code in part 1. Let’s go a bit deeper and try to create a new cheatcode this time.
-
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
-
Foundry: open source contribution
I just made my first (really small) contribution to Foundry (a toolkit to help develop smart contracts for Ethereum) today, and I really enjoyed it! 😍
-
Few solidity development questions
Check out Foundry. It's faster and better than Hardhat IMO.
-
Build Your First Subnet
After you feel comfortable with this deployment flow, try deploying smart contracts on your chain with Remix, Hardhat, or Foundry. You can also experiment with customizing your Subnet by addingprecompiles or adjusting the airdrop.
-
Secure Smart Contract Tools—An End-to-End Developer’s Guide
Foundry
-
How to develop and deploy smart contracts with Foundry & Openzeppelin
Forge: Ethereum testing framework (like Truffle, Hardhat, and DappTools).
-
Remix IDE vs Truffle
Also check out foundry, definitely a different approach but doesn't use Javascript, you do most of your actions in solidity.
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
What are some alternatives?
hardhat - Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software.
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.
hevm - Dapp, Seth, Hevm, and more
ds-test - Assertions, equality checks and other test helpers
solana-escrow - Reference Implementation for the guide https://paulx.dev/blog/2021/01/14/programming-on-solana-an-introduction/
zksync - zkSync: trustless scaling and privacy engine for Ethereum
web3modal - A single Web3 provider solution for all Wallets
ethers-rs - Complete Ethereum & Celo library and wallet implementation in Rust. https://docs.rs/ethers