Skip to content

[UX] Smart contracts panel ideas #133

Description

@ixje
  1. Add an inline trash can icon to delete the specific contract from storage. Or a right click context menu to delete it. make sure to add a warning telling the user that all contract data (including any potential storage) will get lost, so there is no confusion.
  2. When clicking on a contract it currently only shows Hash and in some cases Supported Standards in the tab that opens.
    My first time looking at this panel I considered it a smart contract explorer. I can see which contracts exist and when I click on it I want to see relevant information. Under that assumption I think showing the public functions (extracted from the manifest) would be very valuable. Then from there we can do more cool stuff like add a button behind a function "insert code" that would insert a contract call to this exact function in the contract you might currently be developing (or just at cursor). E.g. if our contract was a python contract it would add the following code
    from boa3.builtin.nativecontract.stdlib import StdLib
    ...
    StdLib.json_serialize()

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