Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Javascript API and library for Ethereum To develop applications on Ethereum, you can use the web3 object provided by the web3.js library. Under the hood it communicates to a local node through RPC calls. web3.js works with any Ethereum node, which exposes an RPC layer. https://github.com/ethereum/wiki/wiki/JavaScript-API
-1
votes
uint showing in hexadecimal in console
I don't think returning decimal from Solidity function is supported at the moment. The reason is using hex-decimal saves more space than decimal when transmitting data. The conversation from hex to ot …
7
votes
Undefined results for "web3.eth.accounts" in truffle console
Use the code below to retrieve all the accounts
var accounts = web3.eth.getAccounts();
Use this code to reference a single account
var account0;
web3.eth.getAccounts().then(function(resul …