openzeppelin Questions

20

Tried to run: 1.) Dappuniversity project (dappuniversity/dbank) 2.) pet-shop-tutorial Truffle v5.3.3 (core: 5.3.3) Node v14.15.5 How can ser compile code @ the 0.8.4 to import OpenZeppelin’s ERC20....
Haggle asked 29/4, 2021 at 16:5

3

I'm trying to get started with what should be a very simple Solidity contract but VSCode is giving me a hard time. I'm using Juan Blancos solidity plugin but VSCode cannot find openzepplin imports ...
Gonick asked 29/4, 2021 at 9:22

8

I've imported the Open Zeppelin ERC721 token standard into my VS Code with the Solidity extension, but see the following warnings on all my OZ import statements: Screenshot of error Why is this hap...
Farkas asked 26/4, 2022 at 12:18

9

Whenever I try to compile my solidity contract, the error ParserError: Source \"@OpenZeppelin/contracts/math/SafeMath.sol\" not found: File import callback not supported gets thrown. prag...
Palomino asked 30/1, 2021 at 15:8

6

I am trying to verify my contract with arguments and I am getting this error: Error in plugin @nomiclabs/hardhat-etherscan: The contract verification failed. Reason: Fail - Unable to verify I am ...
Sing asked 17/12, 2021 at 13:32

2

I'm having a hard time understanding why and when SetApprovalForAll is called on NFT generating contracts. Take Cool Cats, for example. And for convenience there's a screen shot of relevant transac...
Lotta asked 5/11, 2021 at 13:58

3

I created a contract instance in hardhat console like so: const contract_fac = await ethers.getContractFactory("ContractName"); const contract = await contract_fac.attach("CONTRACTAD...
Dressmaker asked 7/7, 2021 at 16:29

8

This has been a problem I've been dealing with for a while now. My temporary solution has been to create a SafeMath.sol file in my Contracts directory and directly import it from there. However, I'...
Ayesha asked 6/3, 2020 at 18:36

1

I've faced an ethers signature unmatched problem. Everything is normal. Already compared domainData, types, message variable in the js code with contract. Below is the JS Code to generate signature...
Raffaello asked 21/5, 2021 at 2:50

1

I'm testing a smart contract for an ERC721 token, that inherits from OpenZeppelin, using waffle and chai with NodeJS v14.18.0, but chai's reverted assertions don't seem to function as expected. Dep...
Sciolism asked 29/10, 2021 at 20:18

3

Solved

For smart contract development, what is the difference between Openzeppelin SDK and Truffle? When should I use one or another, or both together?
Soileau asked 22/10, 2019 at 14:37

2

Solved

pragma solidity ^0.4.15; import './ERC20.sol'; import './SafeMath.sol'; How connect SafeMath.sol from external(non-local) resourses?
Adenoidectomy asked 19/9, 2017 at 11:29
1

© 2022 - 2024 — McMap. All rights reserved.