Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explore PST/SmartWeave integration #12

Open
CDDelta opened this issue Sep 5, 2020 · 0 comments
Open

Explore PST/SmartWeave integration #12

CDDelta opened this issue Sep 5, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@CDDelta
Copy link
Owner

CDDelta commented Sep 5, 2020

PSTs are a way for developers to monetize their apps using micro-dividends on interactions in their apps. It is built on SmartWeave, Arweave's layer 2 smart contract protocol. SmartWeave works by executing JS smart contract code on the client with a list of executed actions stored on-chain.

This package needs support both native and JS compiled Dart so in order to support SmartWeave fully we will have to ship an entire JS engine on native clients. This is illogical.

A more sensible idea would be for us to implement a Dart version of the PST contract in this package so developers can use PSTs in their Dart apps. This, however, has the downside of requiring that all developers use the same smart contract for their PSTs.

We could additionally generalise the implementation above and provide primitives to allow developers to reimplement their smart contracts in Dart which will execute on the client.

@CDDelta CDDelta added the enhancement New feature or request label Sep 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant