Implements the Solana Web3 and Solana spl-token SDK's into outsystems as a webpack that can be referenced in the OutSystems platform as a script running on a reactive web or mobile app.
The Github link below is the source code used to generate the webpack. The code generates an iife (Immediately Invoked Function Expression) that can be referenced in the OutSystems platform.
https://github.com/michel-de-almeida/SolanaWeb3-OutSystems
Full information how how it all works under the hood can be found in the link above. Code is based off the @solana/web3.js and @solana/spl-token npm packages.Feel free to fork this repo or create a pull request to make changes that you think would benefit the project!
How to useAdd the dependency to reactive or mobile app and reference the script on the page you need the functionality on. The 'RequireScript' client action can also be used but my slow down the app and use exessive network resources due to the size of the script. (A non-iife approach would have to be taken if you wish to do that effectively.) Then use the provided actions to do what is required :).
See the included demo for an idea on how to implement everything.