menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Channels
Team
Posts
Members
Info

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…

message-simple
0

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…

message-simple
0

I am going to buy the new M1 MacBook will truffle work on it?

message-simple
0

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?

message-simple
6

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?

message-simple
0

hi, if i have problems installing truffle, where should i post my problem. I…

message-simple
1

Truffle Suite Chat

message-simple
23

How to deploy contract with bytecode to test

Hi everyone. How to deploy contract with bytecode to test ? const UniswapV2FactoryBytecode = require('@uniswap/v2-core/build/UniswapV2Factory.json').bytecode I don't know how to use this in migrations file

message-simple
1

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…

message-simple
3

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…

message-simple
5