Commit Graph

25 Commits

Author SHA1 Message Date
parazyd
ff952172fa runtime: Pass ContractId to section functions. 2022-11-05 10:35:34 +01:00
parazyd
9848a1e5f5 runtime: sled blockchain access 2022-11-04 14:41:40 +01:00
x
dbdbc42705 wasm: replace current mess of macros with a single define_contract!() 2022-11-04 13:00:57 +00:00
x
efba1abc66 wasm: delete Transaction from sdk, and now just pass Vec<FuncCall> around (with no proofs or sigs inside). simplified POD, 2022-11-04 11:57:58 +00:00
parazyd
84bf94d856 runtime: Cleanup and add payload support to init() 2022-11-04 10:35:29 +01:00
x
87be69f103 wasm: add example passing tx into state_transition() 2022-11-04 04:25:52 +00:00
x
92b2cd1e02 wasm: add example db usage to example/smart-contract/src/lib.rs 2022-11-04 03:46:28 +00:00
x
5ffdb1beb9 wasm: alloc pages for apply() 2022-11-04 00:16:13 +00:00
parazyd
7d233c5bbf runtime: State update apply 2022-11-04 00:01:02 +01:00
x
66198e60a6 begin to add full darkfi smart contract functionality 2022-11-03 21:04:56 +00:00
parazyd
867b1bb7a3 example/smart-contract: Update Cargo.lock 2022-11-03 10:28:00 +01:00
x
48f1a86d58 wasm add comment 2022-11-03 08:46:06 +01:00
x
a0c61641cf general cleanup and re-enabling of earlier disabled features. 2022-11-03 08:46:05 +01:00
x
abc907ba2b remove state from entrypoint params 2022-11-03 08:45:18 +01:00
x
f35fd6ab96 (semi-)working wasm contract 2022-11-03 08:43:20 +01:00
x
6668ff238b get wasm code compiling with wasmer3.0.0-beta. doesn't work yet 2022-11-03 08:36:53 +01:00
parazyd
8ae84ad7f9 Add license header to source files. 2022-10-31 18:16:13 +01:00
x
e46ce80bd3 fix smart contract test so it compiles 2022-10-25 10:45:28 +00:00
Luther Blissett
12b7419c10 example/smart-contract: Cleanup 2022-10-14 03:25:55 +02:00
Luther Blissett
4adb6d1c67 node/state: Implement temporary dummy state function. 2022-10-14 02:29:52 +02:00
Luther Blissett
ada09adde8 example/smart-contract: Nullifier lookup in state. 2022-10-14 02:29:31 +02:00
Luther Blissett
bcf031fb8a Update examples. 2022-09-24 16:02:20 +02:00
parazyd
01724a544d Sync package versions in the repo. 2022-04-28 20:19:04 +02:00
parazyd
2505f9ebf6 example: Add integration test for contract. 2022-04-11 12:53:13 +02:00
parazyd
46d64a5ce3 example" Add example smart contract implementation. 2022-04-11 12:23:15 +02:00