Questions tagged [consensys-truffle]

Development and testing framework with integrated asset pipeline for the virtual currency Ethereum

Development and testing framework with integrated asset pipeline for the virtual currency Ethereum

45 questions
10
votes
8 answers

contract has not been deployed to detected network (network/artifact mismatch) on Rinkeby Network

I have been running into the specified in the title. I have developed a smart contract and have successfully compiled and deployed it to the network as follows: 1. Run testrpc 2. truffle compile 3. truffle migrate However, the error above is still…
Sho0310
  • 101
  • 1
  • 1
  • 5
7
votes
1 answer

How to update dapp contract

How can I update the smartcontracts of my Truffle dapp which are deployed in the Ethereum blockchain?
arodriguezdonaire
  • 5,396
  • 1
  • 26
  • 50
6
votes
0 answers

Why is it impossible to deploy a smart contract (to Mainnet) using Truffle?

Why is deploying to Mainnet using Truffle so difficult? Here is a rundown of trying to deploy to Mainnet... Current Gasprice is 110 Wei. Therefore 110000000000 wei Let's plug that in.. mainnet: { provider: () => new…
GN.
  • 8,672
  • 10
  • 61
  • 126
5
votes
5 answers

Setting gas for truffle

I'm running truffle migrate on main. Also using geth. I originally left gas price and gas empty in truffle.js, but now it looks like this: live: { network_id: 1, host: "127.0.0.1", port: 8545, from:…
5
votes
4 answers

Unable to run truffle@2.1.2 migrate --network live. "Exceeds block gas limit"

I am using truffle@2.1.2 to deploy smart contracts against a localhost:8545 geth@1.5.9-stable rpc, using an account that is funded with Ether has been unlocked using personal.unlockAccount on the geth console. I have also tried the same against a…
KnownColor
  • 449
  • 5
  • 12
4
votes
2 answers

Unable to set provider in web3 object

I am following an online course on DApp creation and I am currently trying to set up the application that will be used in the tutorials. The Dapp is set up using Truffle and Metamask on Chrome. All the Dapp files were provided by the course…
Socrats
  • 133
  • 2
  • 9
4
votes
3 answers

Installing Ganache.appx on Windows 10

I am using the following command in PowerShell to install Truffle's Ganache on my Windows 10 machine: Add-AppxPackage -Path "C:\Users\mabel\Downloads\Ganache.appx" Whenever I run that command I get the following error: Add-AppxPackage :…
Mabel Oza
  • 557
  • 8
  • 22
4
votes
4 answers

Truffle deployed contracts can't be verified through Etherscan

I am faced with the problem the truffle generates a different bytecode than solcjs (local compiler) and also than Remix (online compiler). And therefor I can't verify my contracts throght Etherscan (see https://etherscan.io/verifyContract) My…
Alex
  • 43
  • 1
  • 3
3
votes
1 answer

Truffle deploy insufficient funds (despite using Truffle's total price estimates)

1. Dry run deploy Migrations dry-run (simulation) ..... > Total deployments: 2 > Final cost: 0.058258696 ETH That's $83.83 2. Do I have $83.83? Yes I do. 3. Double check mainNet configs (truffle-config.js): Current gas in Gwei 105…
GN.
  • 8,672
  • 10
  • 61
  • 126
3
votes
0 answers

Truffle stuck when deploy smart contract

I have a little problem deploying smart contract with ledger nano s as provider on ropsten. The script just remain stuck at first migration Starting migrations... ====================== > Network name: 'ropsten' > Network id: 3 > Block gas…
Filip Laurentiu
  • 854
  • 3
  • 9
  • 29
3
votes
0 answers

How do I include truffle.js when using the truffle-solidity-loader and webpack?

I have a simple project that is just using webpack to compile a Solidity contract using the truffle loader. I wire everything up and try to run it and get... ERROR in ./src/test.sol Module build failed (from…
Jackie
  • 21,969
  • 32
  • 147
  • 289
3
votes
0 answers

Error: Contract transaction couldn't be found after 50 blocks

When migrating my smart contract to a private Azure block chain I get this. Error: Contract transaction couldn't be found after 50 blocks. I am trying to migrate a ScoreStore smart contract which is deployed successfully on the development…
Kamal Joshi
  • 498
  • 1
  • 7
  • 19
2
votes
0 answers

consensys solidity supply chain exercise

i'm currently passing 22 of 23 @openzeppelin/test-helpers when i run $ truffle test on my clone of the consensys supply-chain-exercise why am i getting the following error and does it relate to the code below? Wrong kind of exception received +…
2
votes
1 answer

Truffle failing to install on a Mac M1

I am trying to install Truffle on my mac M1. I started by following the instructions on the truffle web site in the Pet Shop tutorial I got node installed node successfully, but then I get this error... sudo npm install -g truffle ... npm ERR!…
Simon
  • 78,655
  • 25
  • 88
  • 118
2
votes
1 answer

How to full uninstall Truffle?

I try to uninstall Truffle because i need a older version. I tried with 'npm uninstall -g truffle' but after that checking the version is still installed
MW91
  • 21
  • 1
  • 2
1
2 3