You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree, the WASM code is pretty poorly architected and a major source of maintenance issues. The frontend handles a lot of the structure and management of wallets right now, something I'd like to move away from.
I have started to restructure and shift management fully into a separate package with the goal being a single open source package with simple "lite" non-custodial support of multiple currencies: SC, HNS, BTC, ETH, etc. Ideally they would be fairly independent so wrappers could be created for use outside of browsers.
Since the important crypto functions are written in Go a lot of the Siacoin logic and types are imported directly from gitlab.com/NebulousLabs/Sia. The only places where this is not true is where there were dependencies that would not work in WASM like BBolt.
For building a transaction, there is no great documentation I'm aware of. The closest thing is probably looking at the official Sia Ledger support article. It covers the basic structure of building a transaction towards the bottom.
Would be useful to extract all the siacoin related crypto fns in a separate package.
Is there any doc available around that show how to encode a siacoin address and create and sign a tx?
The text was updated successfully, but these errors were encountered: