Replies: 4 comments 2 replies
-
Hey, we're planning to implement #27 - if we decide to follow the WASM path, you'll be able to write your contracts in any WASM-compatible language - C/C++, Go, AssemblyScript, Kotlin - I believe that Swift is also supported. |
Beta Was this translation helpful? Give feedback.
-
This is super interesting. I am the developer for DeChat a social media app on Arweave. I am writing the front end in Swift so this would definitely be needed for me. |
Beta Was this translation helpful? Give feedback.
-
Looking forward to all your work. Including the experimental write between contracts feature. Thanks for doing this for the community! |
Beta Was this translation helpful? Give feedback.
-
as a small update - we're currently researching a contract written in AssemblyScript - all work is being done in this repo https://github.com/redstone-finance/redstone-contracts-wasm We're currently trying to develop the contract as a class (with a well defined interface) and we're simulating interactions with the contract from the host (ie. accessing contract class, calling functions with arguments type other than numeric (which turns out to be no that obvious in WASM) and also dumping/loading WASM module memory - as a simulation of writing/reading contract state to/from cache). The contract code is here: https://github.com/redstone-finance/redstone-contracts-wasm/blob/main/assembly/RedStoneToken.ts |
Beta Was this translation helpful? Give feedback.
-
So smartweave contracts run on the user client correct? I was wondering if you had any plans to allow other languages like Swift?
Beta Was this translation helpful? Give feedback.
All reactions