Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
121 views

Handing over an address in solidity an saving it

pragma solidity 0.5.1; contract WissenschaftlicheArbeit { string titel; string autor; string pfad; string hashcode; bool isSignt = false; address adresseDesPruefers; ...
2 votes
1 answer
341 views

How to store addresses of incoming transactions and delete them afterwards

I'm building a basic "lottery" where you send 1 ether to a smart contract, I save your address, and after 5 transactions I randomly choose one of the 5 addresses and send the 5 ethers to the "winner". ...