No description, website, or topics provided.
Switch branches/tags
Clone or download
yann300 Merge pull request #8 from ethereum/testing
Add test : call addMethod
Latest commit 066da6d Nov 28, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Update config.yml Nov 28, 2018
examples
src
tests Add test : call addMethod Nov 28, 2018
.gitignore
.prettierignore 🔥 Initial Typescript transition Nov 14, 2018
.prettierrc
jest.config.js
package-lock.json start types for modules Nov 16, 2018
package.json Use webpack server Nov 15, 2018
readme.md
tsconfig.json
tslint.json 🔥 Initial Typescript transition Nov 14, 2018

readme.md

Remix Plugin api

1) notifications

app (key: app)

  • unfocus []
  • focus []

compiler (key: compiler)

  • compilationFinished [success (bool), data (obj), source (obj)]
  • compilationData [compilationResult]

transaction listener (key: txlistener)

  • newTransaction tx (obj)

2) interactions

app

  • getExecutionContextProvider @return {String} provider (injected | web3 | vm)
  • getProviderEndpoint @return {String} url
  • updateTitle @param {String} title
  • detectNetWork @return {Object} {name, id}
  • addProvider @param {String} name, @param {String} url
  • removeProvider @return {String} name

config

  • setConfig @param {String} path, @param {String} content
  • getConfig @param {String} path
  • removeConfig @param {String} path

compiler

  • getCompilationResult @return {Object} compilation result

udapp (only VM)

  • runTx @param {Object} tx
  • getAccounts @return {Array} acccounts
  • createVMAccount @param {String} privateKey, @param {String} balance (hex)

editor

  • getFilesFromPath @param {Array} [path]
  • getCurrentFile @return {String} path
  • getFile @param {String} path
  • setFile @param {String} path, @param {String} content
  • highlight @param {Object} lineColumnPos {start: {line, column}, end: {line, column}}, @param {String} path, @param {String} hexColor
  • discardHighlight