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 20659

Solidity is a contract-oriented, high-level language whose syntax is similar to that of JavaScript and it is designed for writing smart contracts in Ethereum to run on the EVM. Solidity is statically typed, supports inheritance, libraries and complex user-defined types among other features.

1 vote

My Smart contract did not send decimals token

Besides, solidity does not yet implement the float type. …
Julien Klepatch's user avatar
1 vote
Accepted

Schedule an execution of a function in Solidity

It's not possible to schedule a future execution from Solidity. However, its possible to schedule a future execution from outside Ethereum. …
Julien Klepatch's user avatar
3 votes

Is it possible to interact with a contract deployed within another contract via web3js?

Yes its possible. Web3.js doesnt care how the contract was deployed. It just needs: - the contract ABI - the contract address - and a provider to transport requests to the Ethereum Blockchain Now …
Julien Klepatch's user avatar
3 votes
Accepted

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

There are some issues with the way metamask handles events currently. Until those issues are solved you can try use another provider just for handling events. You would need to instantiate another we …
Julien Klepatch's user avatar
2 votes

Truffle deploy via Infura : does it work?

Yes you can. From web3 docs: In order to transact with Infura nodes, you will need to create and sign transactions offline before sending them, as Infura nodes have no visibility of your encry …
Julien Klepatch's user avatar
0 votes

How to debug transaction from truffle test on development network

If you defined a development network in your truffle-config, Ganache will use it for tests: truffle-config.js: module.exports = { networks: { development: { host: "localhost", port …
Julien Klepatch's user avatar
3 votes

Is there a way to capture the require / revert failure reason?

In your web3 code, you can use a try/catch block, and parse the thrown error: try { const receipt = await web3.methods.foo().send(...); ... } catch (e) { //parse e here, the reason will be insi …
Julien Klepatch's user avatar
1 vote
Accepted

Multiple web3 instances on a Single Page

Yes it is possible to run 2 instances of web3.js. I am not aware of any naming convention for each web3 instance. On the readme of web3 on github (https://github.com/ethereum/web3.js/blob/develop/R …
Julien Klepatch's user avatar