Philip Kirkbride
  • Member for 5 years, 10 months
  • Last seen more than a month ago
Splice Struct Entry by Index in Solidity
2 votes

I found that javascript's splice could easily be replicated by setting structs[index] data to equal the data of the last item in the array. Then cut the length by one. If I understand correctly the ...

View answer
Is there any Ether mixer / tumbler available?
Accepted answer
17 votes

Theoretically you could make an Ethereum mixer but I don't think it would be productive. This stems from 2 major flaws with mixers. Mixers aren't truly anonymous it obfuscates data but with enough ...

View answer
How do I plan for an upgrade on my contract?
5 votes

I think the most practical option is to program a self destruct function (it's recommended all contract have this): function selfDestruct() { suicide(msg.sender); } If the contract is one with ...

View answer