DappSandbox
var sandbox = container: documentbody sandbox
api
new DappSandbox(opts)
opts = container: documentbody
Will inject an iframe into the container.
sandbox.iframe
The iframe element.
sandbox.navigateTo(url)
navigates the sandbox to url, may trigger url
event.
sandbox.on('url', function(url){...})
emitted when the url changes
sandbox.on('tx', function(tx, cb){...})
emitted when a tx is requested to be signed