warp-contracts / warp

An implementation of the Arweave SmartWeave smart contracts protocol.
MIT License
159 stars 44 forks source link

feat: add KV storage support for wasm Rust contracts #330

Closed ppedziwiatr closed 1 year ago

ppedziwiatr commented 1 year ago

A follow-up of adding a kv storage for JS contracts (https://github.com/warp-contracts/warp/issues/310).

Changes in the WasmHandlerApi are already done.

The new SmartWeave.kv APIs (SmartWeave.kv.get, SmartWeave.kv.put) have to exposed in js_imports.rs - and obv. a new code has to added to the rust-wasm-imports.js

CC @noomly - @rpiszczatowski will add this next week.

ppedziwiatr commented 1 year ago

released in 1.2.52