From bf0acf274b4726902f8e47efc429bae56d78595d Mon Sep 17 00:00:00 2001 From: d11e9 Date: Mon, 5 Oct 2015 17:22:14 +0100 Subject: [PATCH] use universal-dapp interface Universal-dapp was originaly factored out of browser-solidity to modularise the contract interface component. And so is a direct decended of the code it removes/replaces. Adding a number of features: - constants are shown by default when appropriate - all methods show gas execution costs when run - smoothes the path to interacting with a local node aswell as vm - allows instanciating contracts from an address - shows events where supported --- index.html | 145 +++---------- libs/universal-dapp.js | 335 +++++++++++++++++++++++++++++++ stylesheets/browser-solidity.css | 103 ++-------- stylesheets/universal-dapp.css | 270 +++++++++++++++++++++++++ 4 files changed, 651 insertions(+), 202 deletions(-) create mode 100644 libs/universal-dapp.js create mode 100644 stylesheets/universal-dapp.css diff --git a/index.html b/index.html index 05f31c21d8..b9d485ea23 100644 --- a/index.html +++ b/index.html @@ -30,6 +30,7 @@ THE SOFTWARE. Solidity realtime compiler and runtime +