Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/HowTo/Develop-Dapps/Truffle.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ To use Besu with Truffle, you must configure a Truffle wallet.
To install the Truffle wallet:

```bash
npm install --save truffle-hdwallet-provider@web3-one
npm install --save @truffle/hdwallet-provider
```

!!!note
Expand All @@ -27,7 +27,7 @@ Modify the `truffle-config.js` file in the project directory to add the wallet p
* `<account-private-key>` with the private key of an Ethereum account containing Ether

```javascript
const PrivateKeyProvider = require("truffle-hdwallet-provider");
const PrivateKeyProvider = require("@truffle/hdwallet-provider");
const privateKey = "<account-private-key>";
const privateKeyProvider = new PrivateKeyProvider(privateKey, "<JSON-RPC-http-endpoint>");

Expand Down
4 changes: 2 additions & 2 deletions docs/HowTo/Develop-Dapps/Use-web3js.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ node create_value_raw_transaction.js <YOUR JSON-RPC HTTP ENDPOINT>
```

```bash tab="Example"
node create_value_raw_transaction.js http://localhost:32770/jsonrpc
node create_value_raw_transaction.js http://localhost:8545
```

!!! tip
Expand Down Expand Up @@ -93,7 +93,7 @@ node create_contract_raw_transaction.js <YOUR JSON-RPC HTTP ENDPOINT>
```

```bash tab="Example"
node create_contract_raw_transaction.js http://localhost:32770/jsonrpc
node create_contract_raw_transaction.js http://localhost:8545
```

!!! tip
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ Wait a few seconds and 6 peers and the blocks mined are displayed.

For the following optional tutorial steps, the RPC endpoints are:

* HTTP RPC endpoint: **http://&lt;your VM public IP>/jsonrpc**
* WebSocket RPC endpoint: **ws://&lt;your VM public IP>/jsonws**
* HTTP RPC endpoint: **http://&lt;your VM public IP>:8545**
* WebSocket RPC endpoint: **ws://&lt;your VM public IP>:8546**

## Optional Private Network Tutorial

Expand Down
10 changes: 5 additions & 5 deletions docs/Tutorials/Quickstarts/Privacy-Quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ The network details are displayed.
Name Command State Ports
--------------------------------------------------------------------------------------------------------------------------
privacy_bootnode_1 /opt/besu/bootnode_sta ... Up 30303/tcp, 8545/tcp, 8546/tcp
privacy_explorer_1 nginx -g daemon off; Up 0.0.0.0:32771->80/tcp
privacy_explorer_1 nginx -g daemon off; Up 0.0.0.0:25000->80/tcp
privacy_minernode_1 /opt/besu/node_start.s ... Up 30303/tcp, 8545/tcp, 8546/tcp
privacy_node1_1 /opt/besu/node_start.s ... Up 30303/tcp, 0.0.0.0:20000->8545/tcp, 0.0.0.0:20001->8546/tcp
privacy_node2_1 /opt/besu/node_start.s ... Up 30303/tcp, 0.0.0.0:20002->8545/tcp, 0.0.0.0:20003->8546/tcp
Expand All @@ -85,9 +85,9 @@ privacy_orion2_1 /orion/bin/orion data/data ... Up
privacy_orion3_1 /orion/bin/orion data/data ... Up
privacy_rpcnode_1 /opt/besu/node_start.s ... Up 30303/tcp, 8545/tcp, 8546/tcp
****************************************************************
JSON-RPC HTTP service endpoint : http://localhost:32771/jsonrpc *
JSON-RPC WebSocket service endpoint : ws://localhost:32771/jsonws *
Web block explorer address : http://localhost:32771 *
JSON-RPC HTTP service endpoint : http://localhost:8545 *
JSON-RPC WebSocket service endpoint : ws://localhost:8546 *
Web block explorer address : http://localhost:25000 *
****************************************************************
```

Expand Down Expand Up @@ -140,7 +140,7 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"eth_getTransactionReceipt","para
```

```bash tab="Example"
curl -X POST --data '{"jsonrpc":"2.0","method":"eth_getTransactionReceipt","params":["0xe0776de9a9d4e30be0025c1308eed8bc45502cba9fe22c504a56e2fd95343e6f"],"id":1}' http://localhost:32771/jsonrpc
curl -X POST --data '{"jsonrpc":"2.0","method":"eth_getTransactionReceipt","params":["0xe0776de9a9d4e30be0025c1308eed8bc45502cba9fe22c504a56e2fd95343e6f"],"id":1}' http://localhost:8545
```

The transaction receipt for the [privacy marker transaction](../../Concepts/Privacy/Private-Transaction-Processing.md) is displayed with a `contractAddress` of `null`.
Expand Down
14 changes: 5 additions & 9 deletions docs/Tutorials/Quickstarts/Private-Network-Quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ To run this tutorial, you must have the following installed:
- [Docker and Docker-compose](https://docs.docker.com/compose/install/)

!!! important
If using MacOS, enable Docker to use up to 4GB of memory on the [_Advanced_ tab in _Preferences_](https://docs.docker.com/docker-for-mac/).
If using MacOS, enable Docker to use up to 4G of memory or 6G of memory if running Privacy examples. The memory settings are found in the [_Advanced_ tab in _Preferences_](https://docs.docker.com/docker-for-mac/).
Comment thread
joshuafernandes marked this conversation as resolved.
Outdated

- [Git command line](https://git-scm.com/)

Expand Down Expand Up @@ -69,7 +69,7 @@ When the process ends, it lists the running services:
-----------------------------------------------------------------------------------------------------------------------------------------------------------
besu-quickstart_bootnode_1 /opt/besu/bootnode_start.s ... Up 0.0.0.0:30303->30303/tcp, 0.0.0.0:30303->30303/udp, 8545/tcp, 8546/tcp, 8547/tcp
besu-quickstart_elasticsearch_1 /usr/local/bin/docker-entr ... Up 9200/tcp, 9300/tcp
besu-quickstart_explorer_1 nginx -g daemon off; Up 0.0.0.0:32768->80/tcp
besu-quickstart_explorer_1 nginx -g daemon off; Up 0.0.0.0:25000->80/tcp
besu-quickstart_filebeat_1 /usr/local/bin/docker-entr ... Up
besu-quickstart_grafana_1 /run.sh Up 0.0.0.0:3000->3000/tcp
besu-quickstart_kibana_1 /usr/local/bin/dumb-init - ... Up 0.0.0.0:5601->5601/tcp
Expand All @@ -92,7 +92,7 @@ Followed by a list of the endpoints:
JSON-RPC HTTP service endpoint : http://localhost:8545
JSON-RPC WebSocket service endpoint : ws://localhost:8546
GraphQL HTTP service endpoint : http://localhost:8547
Web block explorer address : http://localhost:32768/
Web block explorer address : http://localhost:25000/
Prometheus address : http://localhost:9090/graph
Grafana address : http://localhost:3000/d/XE4V0WGZz/besu-overview?orgId=1&refresh=10s&from=now-30m&to=now&var-system=All
Kibana logs address : http://localhost:5601/app/kibana#/discover
Expand Down Expand Up @@ -161,7 +161,7 @@ You can run RPC requests on `rpcnode`, the node exposed to the host in order to

For the RPC URL, this tutorial uses the placeholder `<http-rpc-endpoint>`. When you run the tutorial,
replace this placeholder with the JSON-RPC HTTP service endpoint provided when you list the endpoints. (For example,
`http://localhost:32770/jsonrpc`.) The dynamic docker port mapping changes each time you run the network.
`http://localhost:8545`.) The dynamic docker port mapping changes each time you run the network.

{!global/Postman.md!}

Expand Down Expand Up @@ -430,7 +430,7 @@ Once complete and successful, the status of the pet you adopted will show 'Succe

![Dapp UI](../../images/dapp-ui.png)

You can also search for the transaction and view its details in the Block Explorer UI
You can also search for the transaction and view its details in the Block Explorer UI at `http://localhost:25000/`
Comment thread
joshuafernandes marked this conversation as resolved.
Outdated

![Dapp UI](../../images/dapp-explorer-tx.png)

Expand All @@ -439,10 +439,6 @@ Additionally, the Metmask UI also keeps a record of the transaction
![Dapp UI](../../images/dapp-metamask-tx.png)


and you'll be able to see the
transactions in the block explorer as well as the Metmask UI.



## Stop / Restart Private Network without Removing Containers

Expand Down