@@ -447,7 +447,7 @@ class Terminal extends Plugin {
<div><div> - Welcome to Remix ${packageJson.version} - </div><br>
<div>You can use this terminal for: </div>
<ul class=${css2.ul}>
<li>Checking transactions details and start debugging.</li>
<li>Check transactions details and start debugging.</li>
<li>Running JavaScript scripts. The following libraries are accessible:
<ul class=${css2.ul}>
<li><a target="_blank" href="https://web3js.readthedocs.io/en/1.0/">web3 version 1.0.0</a></li>
...
...
@@ -456,9 +456,10 @@ class Terminal extends Plugin {
<li>remix (run remix.help() for more info)</li>
</ul>
</li>
<li>Executing common command to interact with the Remix interface (see list of commands above). Note that these commands can also be included and run from a JavaScript script.</li>
<li>Use exports/.register(key, obj)/.remove(key)/.clear() to register and reuse object across script executions.</li>
</ul>
<i> - Directly input a script in the command line interface </i>
<i> - Select a Javascript file in the file explorer and run \`remix.execute()\` </i>
<i> - Right click on a JavaScript file in the file explorer and click \`Run Script\` </i>
help.appendChild(yo`<div>Please see <a href="https://www.npmjs.com/package/remix-debug" target="_blank">https://www.npmjs.com/package/remix-debug</a> for more informations</div>`)
{'remix.debug(hash)':'Start debugging a transaction.'},
{'remix.debugHelp()':'Display help message for debugging'},
{'remix.execute(filepath)':'Run the script specified by file path. If filepath is empty, script currently displayed in the editor is executed.'},
{'remix.exeCurrent()':'Run the script currently displayed in the editor.'},
{'remix.getFile(path)':'Returns the content of the file located at the given path'},
{'remix.help()':'Display this help message.'},
{'remix.loadgist(id)':'Load a gist in the file explorer.'},
{'remix.loadurl(url)':'Load the given url in the file explorer. The url can be of type github, swarm or ipfs.'},
{'remix.setFile(path, content)':'set the content of the file located at the given path'},
{'remix.setproviderurl(url)':'Change the current provider to Web3 provider and set the url endpoint.'},
{'swarmgw.get(url, cb)':'Download files from Swarm via https://swarm-gateways.net/'},
{'swarmgw.put(content, cb)':'Upload files to Swarm via https://swarm-gateways.net/'},
...
...
@@ -30,8 +25,7 @@ const allCommands = [
{'ethers.utils.RLP':'This encoding method is used internally for several aspects of Ethereum, such as encoding transactions and determining contract addresses.'},
{'ethers.Wallet':'A wallet manages a private/public key pair which is used to cryptographically sign transactions and prove ownership on the Ethereum network.'},
{'ethers.version':'Contains the version of the ethers container object.'},
{'web3.bzz':'Bzz module for interacting with the swarm network.'},
{'web3.eth':'Eth module for interacting with the Ethereum network.'},
{'web3.eth.accounts':'The web3.eth.accounts contains functions to generate Ethereum accounts and sign transactions and data.'},
{'web3.eth.abi':'The web3.eth.abi functions let you de- and encode parameters to ABI (Application Binary Interface) for function calls to the EVM (Ethereum Virtual Machine).'},
{'web3.eth.Contract(jsonInterface[, address][, options])':'The web3.eth.Contract object makes it easy to interact with smart contracts on the ethereum blockchain.'},
{'web3.eth.accounts.create([entropy]);':'The web3.eth.accounts contains functions to generate Ethereum accounts and sign transactions and data.'}
{'web3.eth.getAccounts();':'Retrieve the list of accounts'},
{'web3.eth.accounts.privateKeyToAccount(privateKey [, ignoreLength ]);':'Get the account from the private key'},