Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
Loading