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
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: