For example, I want Alice and Bob being able to setup a "bank account", so each one of them can withdraw 1% of amount per day, but both of them can withdraw 100% per day.
How do I write this contract ? (preferably in python)
(As I'm noob programmer, it needs to be detailed for me to understand it)
-Technologov
0 ·
Comments
https://github.com/ethereum/cpp-ethereum/wiki/LLL-Tutorial
N.
For starting with CLL-sim, i suggest looking at the python examples, running then ./run.py the_python_file, then you can just replace the code with your own, and the same to the test below. The first class is the contract and `run` is what it does receiving a transaction. The second class tests.
Ethereum-simulator could also be seen as a neat gui, which potentially could have a real(or faked-blocks-but-the-real-ethereum execution for simulation)
ethereum backend. (ethereum-cpp gui seems a bit ugly and hard to use, i am sure that would improve though)