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 |
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
1
answer
142
views
address.transer(amount) not working in solidity browser
browser (https://ethereum.github.io/browser-solidity/) it gives me an error:
Exception during execution. … in this row:
winnerTicket.transfer(winAmount);
Is it possible to transfer money in solidity browser? What is the issue here? …
2
votes
2
answers
464
views
Is it possible to create an "engine" in ethereum/solidity? [duplicate]
For that I would need to have a repeating payout event every 1h or 24h -> is this even possible with Solidity/Ethereum? …
1
vote
2
answers
427
views
Why is my account balance after executing the contract so different?
I'm writing a test for a Lottery contract:
var Lottery = artifacts.require("./Lottery.sol");
contract('Lottery', function (accounts) {
var ACC_FABIAN = accounts[0];
var ACC_RENE = accounts[1 …
5
votes
1
answer
3k
views
"this._eth.sendTransaction is not a function" when executing method in Web3
I'm using react-web3 (which basically gives me a web3 object back) and I'm trying to make my contract work. This is the code I'm using:
const web3 = window.web3;
const contract = new web3.eth.con …