Skip to main content

Questions tagged [truffle]

Questions regarding the implementation and use of the Truffle development and testing environment.

0 votes
0 answers
33 views

// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; contract BalanceGame is Ownable { constructor(uint256 _cost) Ownable(...
강백호's user avatar
0 votes
1 answer
44 views

I have just created a .sol contract inheriting from openzeppelin ERC721. I have also written some tests, but I get the following errors: Here is the code for .sol file: // SPDX-License-Identifier: ...
olublockdev's user avatar
1 vote
0 answers
43 views

I am new to blockchain and trying to learn blockchain using Etherium environment with ReactJS. For learning purpose, I am following below link: https://www.dappuniversity.com/articles/blockchain-...
user137424's user avatar
1 vote
1 answer
82 views

(base) ➜ METoken truffle console bigint: Failed to load bindings, pure JS will be used (try npm run rebuild?) Unexpected error setting up the environment or provisioning contracts ...
yuyang yu's user avatar
0 votes
1 answer
44 views

I have 2 smart contracts A and B that I have defined in the same file. B is used to instantiate A using the new keyword. However, when I try to interact on Remix with the newly instantiated contract ...
mehak's user avatar
  • 1
1 vote
0 answers
30 views

I don't remember the previous versions I was using but I remember upgrading because I hoped to have a local test network (via Ganache) supporting EIP-1559. My versions are: Truffle v5.11.5 (core: 5.11....
Luis Masuelli's user avatar
1 vote
0 answers
54 views

Initially, I deploy everything using REMIX IDE, currently I would like to try to deploy a contract that is ownable into local ganache blockchain using truffle migration: pragma solidity ^0.8.18; ...
tony's user avatar
  • 13
1 vote
0 answers
137 views

I've been working on a smart contract in Solidity, the code shown below: // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; ...
aussastan's user avatar

15 30 50 per page
1
2 3 4 5
195