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
0
votes
why there are differences in web3 when using truffle and when used in the browser?
In short, truffle does some abstraction where it abstracts the complexity needed to interact with contracts and provides simple ways to call contracts, check logs, etc.
You can check more information …
5
votes
Accepted
Why is emitting an event considered as state-changing?
Events don't change the state of the contract where they are emitted but they change the state of the whole blockchain.
In simple terms, a log (emitting an event) will make a change in the Transaction …
0
votes
web3.eth.abi.encodeFunctionCall does not accept string as ABI parameter
Instead of encodeFunctionCalll, you can use function(parameters).encodeABI()
Check here:
https://web3js.readthedocs.io/en/v1.2.11/web3-eth-contract.html#methods-mymethod-encodeabi