tgerring / abi2html.js Goto Github PK
View Code? Open in Web Editor NEWInteract with Ethereum contracts via HTML page generated from Solidity ABI
Interact with Ethereum contracts via HTML page generated from Solidity ABI
Currently, all inputs & outputs are single-line text boxes. This is a good default, but future return values may include arrays, which will require a different form field to display properly.
This means only contracts with paramaterless constructors can be deployed
...based on contract address.
If not available, user can paste ABI in to generate the form
Even after the transaction has a blockHash, the transaction receipt does not contain contractAddress, though all other fields are filled in. This was confirmed via JSON-RPC:
$ curl -X POST --data '{"jsonrpc":"2.0","method":"eth_getTransactionReceipt","params":["0x0827654ed0fd4ce21fa32e95e4e12649b9444147a1d19c3a731410e4c94a215d"],"id":73}' http://127.0.0.1:8545
{"id":73,"jsonrpc":"2.0","result":{"transactionHash":"0x0827654ed0fd4ce21fa32e95e4e12649b9444147a1d19c3a731410e4c94a215d","transactionIndex":"0x0","blockNumber":"0x63a","blockHash":"0x9b7fd0356432f405393e4582b5d20dca24bd1c1111c684c661a0119837e5e1f6","cumulativeGasUsed":"0x6882d","gasUsed":"0x6882d","contractAddress":null,"logs":[]}}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.