Problem with sending value through Solidity function in Truffle
Hi, Please tell me how to send the amount in Ether through the Solidity function. I have got the following contract with transferTo(…) method. I am accessing transferTo(..) function through Truffle console. I want to send the amount in Ether through ‘transferTo(..)’ method but I…
Truffle thinks I dont have enough eth
Has anyone encountered truffle deploy --dry-run reporting lower balance than there actually is on the acc? I have ~1ETH, contract deployment reports 4134555 gas used (~ 0.56 ETH) and fails as supposedly my balance is only 0.50ETH, but it isn't :D Are there some hidden costs that…
Transaction was not mined within 50 blocks...
Is anyone familiar with this issue: https://github.com/ethereum/web3.js/issues/1102 This issue has been bugging me for the past few days. I've tried on both local and testnet chains. I've changed my web3 version numerous times. Any idea?
make inherited initialize method private
Hi, two initialization methods are exposed during the compilation of the contract, which are: __initialize (custom initializer) and initialize (inherited one) how could I “disable” (declare it internal?) the inherited initialize method?
Deploying a smart contract for academic research
Hello everyone! I hope this finds you well and safe. I am making progress with my research about the platforms offering tools to deploy smart contracts. As I am completing the design of the paper, today morning I came up with the following idea: I would like to include in my…
contract distribution problem on ganache
Hello everyone! I recently used the truffle suite for programming a dapp for my thesis. I have a problem with distributing the contract on ganache, that is, I can only distribute the contract to the first ganache account, the one with zero index and if I try to use the parameter…