Category "web3"

How do I decode the hex from a specific part of a BSC transaction receipt, using web3 py?

I am writing a python script using web3 package. The process explained: I have a transaction, which I read the transaction receipt for txn_receipt = w3.eth.getT

How to fix Error with alchemy-web3 - Webpack < 5

interact.js require('dotenv').config(); const alchemyKey = process.env.REACT_APP_ALCHEMY_KEY; import { createAlchemyWeb3 } from "@alch/alchemy-web3"; const web3

How to fix Error with alchemy-web3 - Webpack < 5

interact.js require('dotenv').config(); const alchemyKey = process.env.REACT_APP_ALCHEMY_KEY; import { createAlchemyWeb3 } from "@alch/alchemy-web3"; const web3

Creating Basic NFT Viewing App with ThirdWeb SDK

I'm looking to create a very basic app, where a user can connect their wallet, and display all NFTs they own from a specific collection. I am using the ThirdWeb

ERROR: Webpack < 5 after installing web3 and implementing into React Native App.js

I am getting an error after trying to install and use web3 into my react native website, that I am building to learn more about web3 development. After installi

Instruction 0: incorrect program id for instruction. Works on devnet but not mainnet

I am trying to make a spl-token transfer from a user wallet. The code below works perfectly on the devnet but throws Transaction simulation failed: Error proces

recoverTypedSignature function on @metamask/eth-sig-util is not working

It seems that every that the updated recoverTypedSignature function on @metamask/eth-sig-util is not working properly. As soon as I add it into the project, it

Matic/Polygon transactions stopped working without code change using Nethereum

Recently(Maybe correlated to EIP-1559 upgrade) matic transactions that would previously work have stopped working for me, even basic ones like transferring nati

Connect to MetaMask via chrome extension

I am making a chrome extension that requires MetaMask authentication. I started developing it as a web application, but as a chrome extension, it doesn't detect

How to do a secure login with web3 (Metamask)?

So, I want to do a webpage, where you have to log in with metamask, only. I've seen that cryptokitties.co did a really good job, not even prompting for a passwo

Connect Metamask with a native mobile app built with Flutter

I want to connect the app to Metamsk to get the user account and signature from the user to confirm the transaction. But the problem is that when I enter Metams

Type is not assignable to type 'IntrinsicAttributes & MoralisProviderProps'

I am new to typescript and I really want my initialize on mount to be set to true, Does anyone know why it will only let me set it to false? Here is the error:

How to change network in metamask using react js

I am developing my first Dapp, I am using metamask and web3 for this. As far now, I am able to get my wallet balance and connect account to metamask. Now I am t

Import web3 not found... in solana web3.js

I npm installed everything, yet only web3 is not working? Is this a bug or is there an alternative to this solution? import React,{useEffect, useState}from 're

Web3py swap tokens path of contracts

I'm trying to swap tokens with web3py using the swapExactETHForTokensSupportingFeeOnTransferTokens function, with some tokens it works perfectly, in others I ge

window.solana not found on js web3

I want to connect a Solana wallet (phantom or any other) to a web aplication through the js web3 library. I've read docs for most wallets and it seems like it's

Call Solana web3.js from HTML

I am trying to run web3.js from HTML. Now so far I have been able to call window.solana.connect(); and window.solana.disconnect(); functions. However when I try

Import phantom wallet private key into solana CLI

I need to use a Phantom Wallet through the Solana CLI, but I'm unable to configure it. For example, to check balance using solana balance --keypair fileexported

How can I fix this error installing web3 on Python

ERROR: Command errored out with exit status 1: command: 'C:\Program Files\Python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0]

Create USDT Wallet on ERC20 Dart

I want to understand for myself how to generate USDT ERC20 wallet in dart language. I found the web3dart library. But what does it take to generate a koschel us