Skip to content

tgerring/abi2html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

abi2html

Preview on GitHub pages or open in Mist to connect to the network.

View interface screenshot

Generate HTML page from Solidity ABI with JavaScript. This is useful as an "admin" interface to a contract or as a basis for generating forms for more advanced DApps.

Usage:

  1. Click Code to paste Solidity, ABI JSON, or sketch a proposal. Save
  2. Click View and confirm contract address to interact with deployed code
  3. Search, filter, and sort for Event logs
git clone https://github.com/tgerring/abi2html.git
cd abi2html && gulp build
open build/index.html

Anchors

The application can be deep-linked to a particular function, event, block, transaction, or log with an anchor. For example index.html#block/1234. Additionally, it's possible to load Solidity source or ABI from a GitHub Gist ?SOLIDITY_GIST=c835f38889b989e8488c. Combining the two might look this: ?ABI_GIST=0e1b884de82d35053a34#confirm.

Some options:

  • #block/<BlockNum>
  • #log/<BlockNum>/<TransactionIndex>/<LogIndex>
  • #tx/<TransactionHash>
  • #<EventName>
  • #<EventName>/<BlockNum>/<TransactionIndex>/<LogIndex>
  • #<FunctionName>

About

abi2html demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published