wallet-adapter
truffle
Our great sponsors
wallet-adapter | truffle | |
---|---|---|
12 | 72 | |
1,355 | 14,014 | |
7.7% | - | |
8.7 | 9.4 | |
6 days ago | 6 months ago | |
TypeScript | TypeScript | |
Apache License 2.0 | MIT License |
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
truffle
-
Projects to contribute to
Truffle (13700 GitHub Stars) https://github.com/trufflesuite/truffle
-
SKALE Ecosystem Update. Explore the Thriving Ecosystem that is Driving Innovation on SKALE
Truffle
-
Write a Smart Contract with ChatGPT MetaMask Infura, and Truffle
You’ve probably heard that Generative AI has demonstrated the potential to disrupt a huge number of industries and jobs — and web3 is no exception. But how well can ChatGPT create smart contracts? Can using ChatGPT to code smart contracts make you a 10x developer? In this article, we’ll try it out and see. We’ll walk through writing and deploying an Ethereum smart contract using MetaMask, Infura, and Truffle … and we will ask ChatGPT for instructions on how to do everything from the code to the deployment.
-
Solidity digest fortnightly / 17-30 apr 2023
truffle v5.8.3 and v5.8.4 — update Ganache to the most recent version which supports Shanghai and small fixes
-
Learn To Become a Web3 Developer by Exploring the Web3 Stack
For example, I used the Truffle Suite to write, compile, and deploy my first smart contracts, which includes Ganache to create a local blockchain and Drizzle to create a front-end dapp interface.
-
Solidity digest / mar 2023
truffle v5.8.0 - Truffle introduces the Truffle Dashboard Hardhat plugin, which allows developers to see decoded transaction information when using Truffle Dashboard with their Hardhat projects.
-
How to Build on Linea - a zk-rollup on Ethereum
In this article, we’ll explore what makes Linea so exciting. Then, we’ll walk through a tutorial on how to build a dapp on the Linea testnet. Finally, we’ll create our own cryptocurrency on Linea using Solidity, MetaMask, and Truffle: all mature ecosystem tools that are used by blockchain developers to build dapps.
-
The 4 Best dApp Frameworks for First-Time Ethereum Developers
Truffle is a popular development and testing framework for dApps, both for first time and experienced Ethereum developers. As well as containing a web3.js library, Truffle is simple, user friendly and, with over 56K GitHub users, trusted. To install Truffle you need to have Node, NPM and Python. You can install Truffle via NPM with the command ‘npm install -g truffle.’
-
Advancing dApp development with Hardhat Indexing: A Game-Changer for Ethereum Devs
The inspiration for the article came from a project I had built a little over a month earlier, for which I wrote a different article. In this initial project, I was actually using a Hardhat local node for my smart contract development. I decided to switch to Truffle for the final article, because it had a more intuitive demo contract, and because the command line tool made it easier to create manual transactions.
-
The power of zero-knowledge proofs - exploring the new ConsenSys zkEVM
Easy for devs — The zkEVM supports most popular tools out of the box. You can build, test, debug, and deploy your smart contracts with Hardhat, Infura, Truffle, etc. All the tools you use now, you can keep using. And there is already a bridge to move tokens onto and off the network.
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
Kemono - The original paywall archiver/leaker. Deprecated in favor of Kemono 2.
React - The library for web and native user interfaces.
hardhat - Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software.
remix-ide - Documentation for Remix IDE
solana-escrow - Reference Implementation for the guide https://paulx.dev/blog/2021/01/14/programming-on-solana-an-introduction/
foundry - Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.
web3modal - A single Web3 provider solution for all Wallets
embark-framework - Framework for serverless Decentralized Applications using Ethereum, IPFS and other platforms
zksync - zkSync: trustless scaling and privacy engine for Ethereum
openzeppelin-contracts - OpenZeppelin Contracts is a library for secure smart contract development.