All Questions
24,793 questions
1
vote
0answers
6 views
Clarification on “password” argument for web3.eth.personal.sign
Context: I'm fairly new to web3, and as we all know it's developing quite regularly. I'm working towards a "sign in with Metamask"-tyfunctionality using [email protected].
Most of the docs/...
0
votes
0answers
2 views
How to parse input data in transaction using go programming language?
I know there are some resolutions about parsing transaction input data, but they don't work with go. I wander if there is any way i can use with abi available.
Specifically, When i receive a ...
0
votes
0answers
9 views
Truffle: Error: Could not find a compiler version matching 0.5.0
I wonder why I get the error when I have v0.5.0 everywhere and do the following:
In my Action.sol:
pragma solidity ^0.5.0;
In Migrations.sol:
pragma solidity >=0.5.0 <0.6.0;
When running truffle ...
0
votes
1answer
9 views
ZepplinOS: Where to set owner of the contract?
ZepplinOS contracts do not use constructors in it's zos implementation, and instead uses an initialization function that it imports from zos-lib/contracts/Initializable.sol package.
In order for the ...
0
votes
0answers
6 views
NOOB Error : Transaction mined but execution failed
i´m learning Solidity now, and i saw this code on web but when i try to use the method "Deposito" i receive a error. Someone knows what's that ? (PS.: I try to put the value but every time i chose ...
0
votes
0answers
13 views
Indexing event parameters corrupting data
If I index a parameter or any number of parameters, some of the return values get swapped and/or corrupted.. I am not sure if any one else has ever seen this behavior before.
Non-indexed Event:
...
0
votes
0answers
5 views
Cannot sign a message with web3js (invalid from address)
So I am trying to create a signature of a string, but I cannot do that, as I always get error stating MetaMask - RPC Error: Error: WalletMiddleware - Invalid "from" address. (code: -32603). I am ...
0
votes
0answers
8 views
Conceptually, how can I go about tracking a product's ownership on the ETH blockchain?
New to Ethereum and smart contracts, so I apologize if this question isn't really hitting the target. Here's my problem:
I want person A to create a product and sell it to person B. Person B then ...
0
votes
0answers
12 views
How to access the return value of function of ethereum contract using web3 in javascript?
I have written a basic hello world! smart contract and deployed using testrpc and truffle. I have a function in the contract that returns a value and i am using this function and the value it returns ...
0
votes
1answer
9 views
Is it possible to call a Contracts function from a set setTimer? Web3JS
I want to be able to call a function of a contract every 60-120 seconds, in my JavaScript code I have a set timer that runs for down a timer from 120 seconds down to 0 by subtracting 0.01 every 10 ...
0
votes
1answer
22 views
Error: Failed account unlock attempt, is this an attack?
If I use my
geth --identity "MyNodeName" --rpc --rpcport "8545" --rpccorsdomain "*"
--datadir Users/aydinabadi/TestChain1 --port "30303" --rpcaddr
"127.0.0.1" --nodiscover --rpcapi "db,eth,net,...
0
votes
0answers
2 views
eth_sendTransaction doesn't exist when using Infura node
I'm trying to sign a transaction offline and then send it using sendRawTransaction since I'm connected to an Infura node. My raw transaction looks like this
let rawTransaction = {
"from":...
0
votes
0answers
14 views
DIfficulty in understanding solc compile input file for versions above 0.5.0 [on hold]
I am using solidity version 0.5.4 and its same for solc.
After going through solc's github page, i got confused about what to include in content of Example usage without the import callback like we ...
0
votes
0answers
6 views
solc command is generating empty .bin files
Firstly, this is not an inheritance problem like in this post
I have the following two files ( ManagedWallet.sol & ManagedWalletLookup.sol )
pragma solidity ^0.4.24;
contract ...
0
votes
0answers
7 views
Is it possible to write to a file from a truffle console?
I am running some tests on my smart contracts and I need to gather a bunch of data to process in a spreadsheet. Is it possible to write to a file from the console?