I got stucked in thoughts guys and I need bit of clarification to move it forward. (Description is about real problem, code is for best (I hope so..) understand
I used ganache-cli in combination with my Infura key to fork ETH mainnet so I could use the Uniswap router in my development environment: ganache-cli --fork htt
I'm testing my contract and I got the following error: Gas costs: Gas requirement of function vjkNFT.safeMint is infinite: If the gas requirement of a function
I get string parameter in the function, and the length of the parameter is less than 8. and I want to convert this parameter to bytes8 for saving in the array.
It is said that distance is equal to the following formula: distance = sqrt( (x2 - x1)**2 + (y2 - y1)**2 ) I do this exact formula in the function below. Howev
I have a decentralized app with a React frontend. If I go to the homepage (https://app.valerianprotocol.com/), everything works fine and I can refresh the page
SOlidity course: Brownie Fund Me Lesson 6: https://github.com/PatrickAlphaC/brownie_fund_me Compiling AggregatorV2V3Interface leads to TypeError: Interfaces can
When I am running npx hardhat test on the below smartcontract I am getting AssertionError: Expected transaction to be reverted with Username is taken please try
My goal is to write a function that takes an array of strings, and returns a single string containing all of the input strings combined. For example, in Python
i used to use for erc720 this function isValidSignatureNow, but now i am working with erc1155 i need a function like that. i am trying to mint but before i need
Smart Marketplace Contract: allow user to list the erc20 tokens to sell at what price in matic the buyers need to provide permission to the contract to interac
I was trying to create a lottery smart contract that stores every tickets (ticket = address) that someone buys into into an array to later on select winners fro
I have been trying to test out hardhat. I follow the guide on https://hardhat.org/getting-started/#quick-start. I use the sample project as mentioned. When I tr
I'm deploying contracts with hardhat, but cannot use address type in contracts ProviderError: The execution failed due to an exception. at HttpProvider.requ
Chainlink V0.8 no longer includes the Oracle.sol class that I used in V0.6 to register the chainlink node. It seems Operator.sol replaced that in V0.7 (which I
I run: Solana-keygen new --force solana airdrop 5 I have a solidity smart contract that looks like this: // SPDX-License-Identifier: MIT pragma solidity ^0.7.0;
I would like to know why I get this error, if the contract is declared in CONTRACT_ADDRESS and is called through contract to be used in data: Uncaught (in prom
So this is my first interaction with hardhat. I created a sample project using npx hardhat but for some reason, when I try to Run: npx hardhat test I get the f
I am trying to use a smart contract just after I instantiate it. However, I get an error: Uncaught (in promise) TypeError: Cannot read properties of null (read
Error is: Import "brownie" could not be resolvedPylance I know there are other SO posts that refer to this, but it seems most of them are talking about booting