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.
I get this Truffle error when I compile. I have tried adding payable to the addresses but it won't work. This is the error: TypeError: Member "transfer" not fo
i have copied a contract from openzappline. but when i compile it on remix it gives me the error....that utils/context.sol is not found. here is the import prag
I am using Hardhat hackathon boilerplate and calling my smart contract's (address 1c0, addresses shortened for clarity) function MyContract#addProduct from the
I have two contract, I write in in one file, named Sum.sol. The sum contract invoke Add contract. I just want to test cross-contract invoking. If I didn't put t
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 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
I want to know how OpenSea system read contract and call functions. So, I try to write a ERC721 contract without import any other code. // SPDX-License-Identifi
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 have a Smart Contract that represent ERC20 token. I already deployed the smart contract on Binance Testnet using HardHat. I have a deployed Smart Contract add
Following https://docs.hiro.so/smart-contracts/devnet I can't get the command clarinet integrate to work. I have installed Docker on my mac and am running versi
If I were to deploy a smart contract for NFT's that I would want to sell which is the best way to do this. And is utilising Injected Web3 on Remix.ethereum.org
hey so i was looking through github for a LP staking smart contract and i came across this // SPDX-License-Identifier: MIT pragma solidity 0.7.6; import "@open
I'm writing test cases for my NFT smart contract (SC). When I check the state of the SC after creating my NFT I'm expecting to see a variable (next_index_to_min
I use the official deploy tool "successfully" to deploy Uniswap v3 to a EVM comparable testnet. After NonfungiblePositionManager.createAndInitializePoolIfNecess
I'm getting this error in Solidity for the following code snippet: member balance not found or not visible after argument-dependent lookup in contract functio
Solidity code: pragma solidity ^0.5.8; contract remainNew{ address public owner = msg.sender; uint public cubeCount = 0; modifier onlyBy(addr
I am still quite new with react and solidity and don't know where to start. I can update a String and want to print it out after I changed it. But I want the St