Alex G.P.
  • Member for 4 years, 6 months
  • Last seen more than a month ago
Truffle migration: Error: authentication needed: password or unlock
Accepted answer
10 votes

Ok, finally I added some code to unlock account on the fly. I do not want to store password in truffle.js (but it is possible), so doing next things: Changed 1_initial_migration.js this way: const ...

View answer
Truffle post-deployment actions
8 votes

With help of Karthikeyan Thangavel and Truffle docs I finally made it works: module.exports = async function(deployer) { let aInst, bInst; await Promise.all([ deployer.deploy(A), ...

View answer
How to debug contract in Ropsten network (using orazlize.it)?
Accepted answer
4 votes

Finally I can get Remix works with my local Parity node. I just specified --jsonrpc-cors="https://remix.ethereum.org" parameter and selected "web3" provider.

View answer
Machine size recommendation for fast syncing on Ropsten?
3 votes

I am using standard $10 DigitalOcean machine 2 GB memory, 1 vCPU core, 50 GB SSD, 2 TB transfer. Only thing I fixed is adding at least 100 Gb storage. Ropsten network was synced in 20-24 hours if fast ...

View answer
Maximum security data comparison
Accepted answer
2 votes

You mentioned you are using Oraclize. They provide not only random number querying, but allows you also to perform requests to the outer network and receive parsed json. I think it is best option for ...

View answer
Ethereum HD wallet collision?
2 votes

Yep, it really was "duplicated" mnemonic phrase equal to... undefined.

View answer
Contract call does not works through web3
Accepted answer
2 votes

Finally I got it. Issue is unrelated to the contract code except couple of require statements inside it. Methods transferFrom relies on internal approved member that contains alloed amount to ...

View answer
Truffle work over HTTPS
Accepted answer
2 votes

I found workaround for this case, just add provider field to truffle.js: const Web3 = require('web3'); module.exports = { networks: { ropsten: { ................. provider: new ...

View answer
Ways to access the live (and test) Ethereum blockchain
1 votes

If you do not want to download entire blockchain you have to take a look to Infura. They acted as gate to live and test networks. You cannot connect to their endpoints using geth but can connect to it ...

View answer
Call contract methods with web3 from newly created account
1 votes

I've already faced this problem. You specifying address on from field in checksumed format (mixed case). Try to convert it to lowercase and test again. I found it when researched the same issue - ...

View answer
Multiple constructor functions - Will they be executed once?
1 votes

It is ok to have constructor in parent contract. It will be expecuted once, on deployment. According to last solidity style guides - it is better to use constructor() {} instead of function partOne() ...

View answer
Is it necessary to store transaction data into a database?
1 votes

It is safe to store TX results off-chain to speed up operations with its results.

View answer
Remix gas limit exceeded
Accepted answer
1 votes

Got it. Damn to updates! Now Remix does not reset field value after compilation so it tries to deploy contract and send amount to constructor. Solution is simple: reset value field before click Run.

View answer
Parity unable to deploy contract on ropsten
Accepted answer
1 votes

Problem was caused by incomplete local node synchronization. After sync finished problem was gone.

View answer
How to trace token transfer that may contained in contract inner transactions
0 votes

You have couple of ways: Use truffle-contract to get contract code and subscribe to events (in your case - Transfer). Truffle-Contract automatically decode logs to readable format. Cons: you have to ...

View answer
how get a revert message
0 votes

This feature still not supported on high-level: https://github.com/ethereum/solidity/issues/1686

View answer
Transactions from contract adress
0 votes

Suppose this is what you are looking for: const url = 'https://api-rinkeby.etherscan.io/api'; const params = { module: 'account', action: 'txlist', address: self.contractAddress, sort:...

View answer