embark/site/source/docs
emizzle 095bd0b971 feat(@embark/quorum): Add support for Quorum blockchains
Add support for *connecting to* Quorum blockchains. This plugin will not start a Quorum node or nodes automatically as Embark does with other chains.

This plugins supports deploying contracts publically and privately using the Tessera private transaction manager.

This plugin supports sending of public and private transactions using the Tessera private transaction manager.

Add ability to skip bytecode checking as part of the contract deployment process. Instruct the deployer to skip checking if the contract bytecode exists on-chain before deploying the contract. This is important in the case of having many private nodes in a network because if a contract is deployed privately to node 1 and 7, running Embark on node 2 should skip the bytecode check as the contract *is not* deployed on node 2, nor do we want it deployed on node 2. If the bytecode check was in place, Embark would have deployed it to node 2 and therefore not adhered to the privacy needs.

Add Ethereum contract deployer for Quorum, allowing for deploying of public and private contracts using `privateFor` and `privateFrom` (see Contract config updates below).

Add web3 extensions enabling specific functionality for Quorum. Extensions includes those provided by [`quorum-js`](https://github.com/jpmorganchase/quorum.js), as well as some custom monkeypatches that override web3 method output formatting, including:
 - web3.eth.getBlock
 - web3.eth.getTransaction
 - web3.eth.getTransactionReceipt
 - web3.eth.decodeParameters
DApps wishing to take advantage of these overrides will need to patch web3 as follows:
```
import {patchWeb3} from "embark-quorum";
import Web3 from "web3";

let web3 = new Web3(...);
web3 = patchWeb3(web3);
```

Add support for sending a raw private transaction in the Quorum network. This includes running actions from the proxy after an `eth_sendTransaction` RPC request has been transformed in to `eth_sendRawTransaction` after being signed.

fix(@embark/transaction-logger): Fix bug when sending a 0-value transaction.

Add `originalRequest` to the proxy when modifying `eth_sendTransaction` to `eth_sendRawTransaction`, so that the original transaction parameters (including `privateFor` and `privateFrom`) can be used to sign a raw private transaction in the `eth_sendRawTransaction` action.

Added the following properties on to blockchain config:
 - *`client`* `{boolean}` - Allows `quorum` to be specified as the blockchain client
 - *`clientConfig/tesseraPrivateUrl`* `{string}` - URL of the Tessera private transaction manager
```
client: "quorum",
clientConfig: {
  tesseraPrivateUrl: "http://localhost:9081" // URL of the Tessera private transaction manager
}
```
Added the following properties to the contracts config:
 - *`skipBytecodeCheck`* `{boolean}` - Instructs the deployer to skip checking if the bytecode of the contract exists on the chain before deploying the contract. This is important in the case of having many private nodes in a network because if a contract is deployed privately to node 1 and 7, running Embark on node 2 should skip the bytecode check as the contract *is not* deployed on node 2, nor do we want it deployed on node 2. If the bytecode check was in place, Embark would have deployed it to node 2 and therefore not adhered to the privacy needs.
  - *`privateFor`* `{string[]}` - When sending a private transaction, an array of the recipient nodes' base64-encoded public keys.
  - *`privateFrom`* `{string}` - When sending a private transaction, the sending party's base64-encoded public key to use
```
environment: {
  deploy: {
    SimpleStorage: {
      skipBytecodeCheck: true,
      privateFor: ["ROAZBWtSacxXQrOe3FGAqJDyJjFePR5ce4TSIzmJ0Bc"],
      privateFrom: "BULeR8JyUWhiuuCMU/HLA0Q5pzkYT+cHII3ZKBey3Bo="
    }
  }
},
```

 - *`proxy:endpoint:http:get`* - get the HTTP endpoint of the proxy regardless of blockchain settings
 - *`proxy:endpoint:ws:get`* - get the WS endpoint of the proxy regardless of blockchain settings

 - *`runcode:register:<variable>`* - when variables are registered in the console using `runcode:register`, actions with the name of the variable (ie `runcode:register:web3`) will be run *before* the variable is actually registered in the console. This allows a variable to be modified by plugins before being registered in the console.
2020-03-23 20:19:04 +01:00
..
bamboo.md chore: rename org references from embark-framework to embarklabs 2020-01-16 15:36:29 -05:00
blockchain_accounts_configuration.md refactor: initial steps toward 5.0.0-alpha.0 (#1856) 2019-08-30 16:50:20 -04:00
blockchain_configuration.md feat(@embark/quorum): Add support for Quorum blockchains 2020-03-23 20:19:04 +01:00
cockpit_dashboard.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
cockpit_debugger.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
cockpit_deployment.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
cockpit_editor.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
cockpit_explorer.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
cockpit_introduction.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
cockpit_utils.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
configuration.md feat: add support for `embark.config.js` 2020-03-06 09:45:43 -06:00
console_commands.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
contracts_configuration.md feat(@embark/quorum): Add support for Quorum blockchains 2020-03-23 20:19:04 +01:00
contracts_deployment.md refactor: initial steps toward 5.0.0-alpha.0 (#1856) 2019-08-30 16:50:20 -04:00
contracts_imports.md refactor: initial steps toward 5.0.0-alpha.0 (#1856) 2019-08-30 16:50:20 -04:00
contracts_javascript.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
contracts_testing.md feat(@embark/test-runner): make evmMethod globally available + docs 2020-03-05 14:12:07 +11:00
contributing.md chore: rename org references from embark-framework to embarklabs 2020-01-16 15:36:29 -05:00
create_project.md chore: rename org references from embark-framework to embarklabs 2020-01-16 15:36:29 -05:00
creating_plugins.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
dashboard.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
embark_commands.md fix(plugins/basic-pipeline): ensure correct webpack config is loaded 2020-03-23 15:19:58 +01:00
environments.md refactor: initial steps toward 5.0.0-alpha.0 (#1856) 2019-08-30 16:50:20 -04:00
executing_scripts.md feat(plugins/scripts-runner): introduce exec command to run scripts 2020-02-12 16:47:04 -06:00
faq.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
index.md chore: localize static sites 2019-06-20 10:49:26 +02:00
installation.md chore: rename org references from embark-framework to embarklabs 2020-01-16 15:36:29 -05:00
installing_embarkjs.md build(deps): bump web3[-*] from 1.2.4 to 1.2.6 2020-02-03 10:17:07 -06:00
installing_plugins.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
javascript_usage.md build(deps): bump web3[-*] from 1.2.4 to 1.2.6 2020-02-03 10:17:07 -06:00
messages_configuration.md feat(@embark/whisper): Add Whisper client config 2019-12-11 11:12:18 -05:00
messages_javascript.md docs: fix Messages.listenTo() API docs 2019-06-20 15:30:44 +02:00
migrating_from_3.x.md docs(@embark/site): add migration guide to Embark v5 2020-01-14 17:42:47 +01:00
naming_configuration.md doc(@embark/ens): document $accounts for ENS configuration 2020-02-06 12:36:36 -05:00
naming_javascript.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
overview.md chore: rename org references from embark-framework to embarklabs 2020-01-16 15:36:29 -05:00
pipeline_and_webpack.md fix(plugins/basic-pipeline): ensure correct webpack config is loaded 2020-03-23 15:19:58 +01:00
plugin_reference.md feat(@embark/quorum): Add support for Quorum blockchains 2020-03-23 20:19:04 +01:00
quick_start.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
running_apps.md fix(plugins/basic-pipeline): ensure correct webpack config is loaded 2020-03-23 15:19:58 +01:00
sending_and_receiving_messages.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
smart_contract_objects.md build(deps): bump web3[-*] from 1.2.4 to 1.2.6 2020-02-03 10:17:07 -06:00
solidity.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
storage_configuration.md refactor(@embark/library-manager): restrict versionable packages to only solc 2019-11-08 11:27:20 -06:00
storage_deployment.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
storage_javascript.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
structure.md feat: add support for `embark.config.js` 2020-03-06 09:45:43 -06:00
troubleshooting.md chore: rename org references from embark-framework to embarklabs 2020-01-16 15:36:29 -05:00
using_storages.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
using_the_console.md docs: remove docs for `service` command (#2023) 2019-11-05 10:21:02 -05:00
vyper.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
web3js.md build(deps): bump web3[-*] from 1.2.4 to 1.2.6 2020-02-03 10:17:07 -06:00
webpack.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
what_dapp.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
working_with_name_systems.md chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00