hope all is well. I have been following Dapp University tutorial (https://www.youtube.com/embed/x-6ruqmNS3o?start=2111) to make a mintable NFT pairs game. I am
I'm working on a Solidity Smart Contract for Tron Network. I want the owner can set an array of address => uint. This is the code: pragma solidity ^0.8.0; s
i am trying to encode the nft data using _signTypedData(etherjs) in frontend as follows const domain = { name: "og-nft", version: "1", }; const typ
I try solidity. I import some required files but now I see Error: not found IERC20.sol But I don´t know why, because this file is next... Thank you for re
Is it possible to stop the time within the test, until the time is changed manually via "evm_increaseTime" in Hardhat? For example when we increase time by 1 se
I'm attempting to follow the NFT tutorial here. I have set up the accounts on Alchemy and Metamask created the .sol file. I have a .env file in root that look
I installed nvm in Ubuntu 20.04. Then using nvm I installed node and npm. The general task is to use hardhat in my Solidity project. I created npm project and i
I am trying to create a ERC20 standard token using VS code by following a Youtube video https://www.youtube.com/watch?v=8rpir_ZSK1g . Until I reached the .env f
I'm using solidity 0.5.16 and in a contract's function, I want to make a call to another contract's initialize() method. This method does not take in any argume
I want to test get my function TokenUri using hardhat. Here it is: function tokenURI(uint256 tokenId) public view virtual override returns (string memory){
I'm Solidity Newbie. I'm learning how to implement Transparent Proxy using Openzeppelin's TransparentUpgradeableProxy contract, but am having some problems. Ste
The ZkSync documentation states that a deposit has to be made from an existing Ethereum account to a non-existing ZkSync account counterfactually in order to cr
I created a contract instance in hardhat console like so: const contract_fac = await ethers.getContractFactory("ContractName"); const contract = await contract_
When I do Ctrl+Shift+P on VSCode, I am unable to see Solidity as an option. If unfamiliar with Solidity, it is a language for writing smart contracts on the Eth
after maked directory and on terminal I typed 'npx hardhat' enter image description here but doesnt showed create project when i saw their tutorial, possible to
I was following the freecodecamp smart contract course, i was in lesson 6 brownie Fund me/ when i was setting up my test it showed me the next error: platform w
I'm currently building a ERC721 compliant contract and have published the contract here: https://ropsten.etherscan.io/address/0xa513bc0a0d3af384fefcd8bbc1cc0c97
The code I have: function approveRequest(uint256 index) public { Request storage request = requests[index]; require(approvers[msg.sender]); require
I've got a piece of code below that attempts to implement a two-player game (with a wager on the line) of Tic-Tac-Toe, also known as Noughts and Crosses. It is
I'm trying to follow a tutorial to create an NFT: https://ethereum.org/en/developers/tutorials/how-to-write-and-deploy-an-nft/ I took a faucet here: https://fau