I am interacting with my own smart contract. It's a very simple one. // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract ERC20 { string public n
I am getting invalid sender when trying to send a signed transaction. Here is the error: Uncaught (in promise) Error: Returned error: invalid sender and this i
Intro I'm creating a dapp that uses ens. The ens should be automatically displayed for every wallet that owns it. For this I'm using the provider.lookupAddress(
I am interested in building decentralized apps on ethereum and am wondering about the common libraries being used. For example, I've heard of
Code process: Transaction is created with completeorders() function. Created transaction event listener activates and logs to console. Once the created transact
I'm writing an NFT smart contract using the OpenZeppelin ERC721Full contract. I'm able to mint NFTs, but I want to have a button that enables them to be bought.
This the validation json I got for my nft toke 34 HTTP 200 OK Allow: GET, OPTIONS Content-Type: application/json Vary: Accept { "valid": true, "token_u
I have wrote the smart contract for creating ENS subdomain name. I need to pass the reference ETH address record for that created subdomain name. pragma sol
I am developing an NFT collection using ERC721 token. But I would like to know how a particular nft is held by a particular customer? I am sensing there are two
I want to list two collections on Opensea but instead of creating two smart contracts for that, I want to create only one (to save gas fees of uploading a contr
We're looking to build an indexer for all ENS records. Loading names is a simple task however determining the proper resolution address presumably requires read
I am currently learning about NFTs and I reached the point where I deployed the contract and I can mint and everything going well. The only missing part is roya
I am trying to authenticate my wallet against OpenSea using the SDK, but fail doing so. Here's my code snippet: const walletSubprovider = new MnemonicWalletSubp
I'm writing unit tests in Hardhat using Hardhat's mainnet fork, however it seems that the results from one test are affecting future tests and causing my assert
I encounter the following error while trying to run a dapp made using React, Truffle & Ganache. I'm also using web3 version 1.7.1. The problem is that the c
I am very new to web3 and relatively new to JavaScript. The following code returns undefined for the variable accounts. Here is my code: const Web3= require('we
How can I access smart contract calls with only the address of the contract? Correctly, I understand that the address will be enough, because with the help of i
I am attempting to broadcast a constructed transaction for rinkeby. Web3 seems to always return errors, sometimes for insufficient funds for gas * price +
In Ethereum I opened the javascript console with "geth console" but I can not close it anymore. I have tried ctrl-c, but it does not work.
I am trying to use Web3.js to claim a token from a Smart Contract. I am meeting the error return new Error('"gas" is missing');. const Web3 = require('Web3'); c