|
|
@@ -6,15 +6,7 @@ priority: immediate
|
|
|
* split demo() into smaller functions that correspond with rpc requests
|
|
|
* see comments on main.rs
|
|
|
* these are super basic/ dumb right now, we will start small and gradually improve
|
|
|
-
|
|
|
-* make main() into an async daemon
|
|
|
- * rpc interface must detach in the background so we can run other
|
|
|
- methods
|
|
|
- * can use darkfi::util::cli::async_daemonize to be standard with
|
|
|
- other binaries, but it's not essential for this demo as we do
|
|
|
- not need a config or options rn.
|
|
|
-
|
|
|
-priority: mid
|
|
|
+we are basically transforming demo.rs into a sequence of commands: create(), mint(), airdrop(), propose(), vote(), exec()
|
|
|
|
|
|
* move schema.rs to darkfi/example
|
|
|
* rename it to dao.rs
|
|
|
@@ -22,6 +14,8 @@ priority: mid
|
|
|
* cargo run --example dao
|
|
|
* and it should compile and work
|
|
|
|
|
|
+priority: mid
|
|
|
+
|
|
|
* figure out where to put example()
|
|
|
* we have contract/example_contract
|
|
|
* the contract code can stay put, but where should we run it? the code
|