muttoni / contract-browser

The one stop shop for smart contracts on Flow
https://contractbrowser.com
8 stars 4 forks source link

[FEATURE] Integrate with or link to Flow playground #10

Open bartolomej opened 3 months ago

bartolomej commented 3 months ago

Issue to be solved

I really like how crates.io links to the Rust playground where you can try and play around with the package you are looking at.

Screenshot 2024-06-04 at 22 05 45

I believe this would be useful for developers exploring new Cadence packages/contracts (as the number of contracts grows and the composability becomes even more relevant) + it is a good step towards better integration/connection with other tools in the Flow ecosystem.

Suggest A Solution

Right now, this is not possible to achieve with the current playground https://play.flow.com. But we are working on a new web-based playground (see https://github.com/onflow/developer-grants/issues/260) that could potentially recreate a very similar environment to the local one, where the user could:

What are you currently working on that this is blocking?

No response

bartolomej commented 3 months ago

This is also sort of related to https://github.com/muttoni/contract-browser/issues/9. It's still a question if the interaction and playground tool should be available within the same app (basically be one tool that supports both emulated and testnet/mainnet mode) or not.

muttoni commented 3 months ago

So you're suggesting to link out to the Flowser playgroud? Sure! What is the ETA?

bartolomej commented 2 months ago

So you're suggesting to link out to the Flowser playgroud? Sure! What is the ETA?

Yes! The project is still in its early development stage, but we may have a working MVP somewhat soon (~ 1-2 months), so we may do a beta release at that point.

FYI some of the development work can be tracked here: https://github.com/onflowser/flow-wasm