Skip to main content

Questions tagged [truffle-compile]

1 vote
1 answer
136 views

I've installed truffle multiple times, uninstall and installed again, all I get is command not found npm install -g truffle npm WARN deprecated [email protected]: testrpc has been renamed to ganache-cli, ...
ByteCypher's user avatar
1 vote
2 answers
1k views

I'm facing an error while running truffle compile- Error: Failed to fetch the Solidity compiler from the following locations: https://relay.trufflesuite.com/solc/bin/,https://solc-bin.ethereum.org/bin/...
Aryan Raj's user avatar
0 votes
1 answer
70 views

I have been following a course, and, I followed their code, somehow, when I compile my code, it gave me an error, and the course I followed didn't get an error, somebody help me please. pragma ...
Korumaq1xa's user avatar
1 vote
0 answers
94 views

Question: I read that why recompile all truffle The technical reason is that since Solidity does not produce deterministic ASTs, the plugins are unable to resolve references correctly if they are not ...
Zainan Victor Zhou's user avatar
2 votes
0 answers
155 views

The code: pragma solidity <0.9.0; contract Callee { address public a; address public b; function test(uint256 i) public returns(uint256){ a=address(this); b=msg....
aj3423's user avatar
  • 253
0 votes
0 answers
80 views

I´ve spent a couple weeks try to understanding what was heppening. The same solidity code worked great in REMIX but not in Truffle/Ganache. Let´s me explain. I wrote a code bases on Openzeppelin, but ...
p3cardoso's user avatar
0 votes
1 answer
146 views

I'm trying to install truffle on node version 8.9.0 but it shows it has been installed and when I try to do anything on that, throws this error. C:\Users\com\AppData\Roaming\nvm\v8.9.0\node_modules\...
Prabhat Dongare's user avatar
0 votes
1 answer
475 views

When I truffle compile, it says "Error: Could not find a compiler version matching ^0.8.11". I did some research and installed solc (npm install -g [email protected]), but it didn't fix the error. ...
Josh D's user avatar
  • 3
1 vote
2 answers
449 views

I am using ^0.8.0 version of solidity compiler and trying to add crowdsale smart contract pragma solidity ^0.8.0; import "./Crowdsale.sol"; contract MyTokenSale is Crowdsale { ...
Mariia Synelnyk's user avatar
1 vote
0 answers
79 views

I'm trying to only select the truffle compile output using the outputSelection JSON config in truffle-config.json. But when I run truffle compile --all, the build JSON files still contains everything. ...
ibaralf's user avatar
  • 111
1 vote
2 answers
2k views

I keep getting this error: Error: Could not find a compiler version matching ^0.8.0. Please ensure you are specifying a valid version, constraint or build in the truffle config. Run `truffle compile --...
Naveh Mevorach's user avatar
0 votes
1 answer
195 views

When I the ABI for any smart contract it always creates "methods" as just an empty object... it should contain my public and external functions, but it doesn't. When I look at the ABI I don'...
Jim's user avatar
  • 173
0 votes
1 answer
66 views

When I'm running the truffle compile cmd getting the prompt "Everything is upto date." ABIS folder is created but the corresponding file related to contacts are not there. Basically, the ...
Abhishek Kochar's user avatar
0 votes
1 answer
156 views

I want to compile a simple smart contract using truffle. my smart contract SimpleStorage.sol pragma solidity >=0.4.16 <0.7.0; contract SimpleStorage { int public sensorData; constructor(...
Helo's user avatar
  • 1
0 votes
1 answer
204 views

I'm getting an error due to Burnable but it's not even in my contract. @openzeppelin/contracts/token/ERC721/ERC721Burnable.sol:12:46: abstract contract ERC721Burnable is Context, ERC721 ...
piña's user avatar
  • 209

15 30 50 per page
1
2 3 4 5
8