Skip to main content
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
Results tagged with
Search options not deleted user 21784

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

0 votes
2 answers
662 views

React + Web3, making call from componentDidMount but web3 not ready?

I'm trying to load some data from a smart contract from within componentDidMount. Calling the contract from within here didn't seem to work as web3 provider wasn't ready, so I added an event listener …
user339946's user avatar
1 vote
1 answer
2k views

Error: The current provider doesn't support subscriptions: MetamaskInpageProvider

I'm simply trying to setup an event listener with web3 and metamask. incrementEvent = existingContract.events.Incremented(function(error, event){ if (error) console.log(error); …
user339946's user avatar
3 votes
2 answers
2k views

Easiest way to compile solidity in user's browser?

I'd like to compile solidity in the browser. web3 has deprecated compile() features so you can't call web3.eth.compile.solidity() anymore. I tried to browserify require('solc') / require('solc/wrapper …
user339946's user avatar
2 votes
0 answers
113 views

Showing block confirmations on a user transaction, best practices?

I'm working on a site that allows users to deploy smart contracts via MetaMask. Basically they customize it, it gets compiled, and then the user deploys it by via a MetaMask transaction. I would like …
user339946's user avatar
4 votes
4 answers
8k views

web3 contract instantiation

I'm trying to create a contract object with web3. var contract_abi = result['contracts']['Test']["interface"]; //[{"constant":false,"inputs":[],"name":"inc","outputs":[],"payable":false,"type …
user339946's user avatar