Skip to content

Shareable Playground Links #380

@marceontech

Description

@marceontech

I wanted to open a pull request but I could not as I'm not a collaborator (though I'd like to)

Problem 

When we discover an unusual opcode behaviour or need to file a bug, we currently have to describe the entire setup in words or screenshots. There is no way to give someone a single URL that loads the same source code (Solidity / Yul / Huff), pre‑selects the EVM fork (e.g. Shanghai), populates calldata / constructor args or jumps to the same program counter.

So a shareable link would make reproducing issues, writing tutorials, or embedding interactive examples in blog posts significantly easier.

Proposal

Add a “Share” button in the Playground header that:

  • Converts the current session state into a compact string.

  • Adds it as a ?state= query parameter to https://www.evm.codes/playground.

  • Copies the URL to the clipboard (and shows “Link copied!”).

  • When someone opens the link, the Playground should automatically load that state and show the same setup

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions