Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
update naming from standalone to development node
Browse files Browse the repository at this point in the history
  • Loading branch information
eshaben committed Apr 8, 2021
1 parent 44267ff commit 415f3bc
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ The dependencies installed are the following:
- EthereumJS wallet: a lightweight wallet implementation.
- Web3 Provider Engine: a tool for composing custom Web3 providers.
- Truffle: this is not needed if you have installed it globally.
- Moonbeam Truffle Plugin: a tool to easily create your own standalone Moonbeam node for development (uses Docker).
- Moonbeam Truffle Plugin: a tool to easily create your own Moonbeam development node for quick and iterative development (uses Docker).

## Networks

Moonbeam Truffle Box is pre-configured with two networks: standalone and TestNet. To deploy in the standalone network please check the Moonbeam Truffle Pluggin section to install and start your own local node.
Moonbeam Truffle Box is pre-configured with two networks: Moonbeam Development and Moonbase Alpha TestNet. To deploy in the development network please check the Moonbeam Truffle Plugin section to install and start your own local node.

```
node_modules/.bin/truffle migrate --network dev
Expand All @@ -51,7 +51,7 @@ _Note: if you have Truffle installed globally, you can replace `node_modules/.bi

## Moonbeam Truffle Plugin

The plugin is used to get you started with a local standalone Moonbeam node quickly. You can check all available commands with the help flag:
The plugin is used to get you started with a local development Moonbeam node quickly. You can check all available commands with the help flag:

```
./node_modules/.bin/truffle run moonbeam --help
Expand All @@ -60,49 +60,49 @@ The plugin is used to get you started with a local standalone Moonbeam node quic
The following commands are available:

### Install
In this context, installing means downloading the Docker image of the Moonbeam standalone node (requires Docker to be installed).
In this context, installing means downloading the Docker image of the Moonbeam development node (requires Docker to be installed).

```
node_modules/.bin/truffle run moonbeam install
```

### Start
Start the standalone Moonbeam node.
Start the development Moonbeam node.

```
node_modules/.bin/truffle run moonbeam start
```

### Stop
Stop the standalone Moonbeam node. This will remove the container, thus purging the chain.
Stop the development Moonbeam node. This will remove the container, thus purging the chain.

```
node_modules/.bin/truffle run moonbeam stop
```

### Pause
Pause the standalone Moonbeam node.
Pause the development Moonbeam node.

```
node_modules/.bin/truffle run moonbeam pause
```

### Unpause
Unpause the standalone Moonbeam node.
Unpause the development Moonbeam node.

```
node_modules/.bin/truffle run moonbeam unpause
```

### Status
Shows the status of the standalone Moonbeam node.
Shows the status of the development Moonbeam node.

```
node_modules/.bin/truffle run moonbeam status
```

### Remove
Removes the Docker image of the Moonbeam standalone node.
Removes the Docker image of the Moonbeam development node.

```
node_modules/.bin/truffle run moonbeam remove
Expand Down
14 changes: 7 additions & 7 deletions truffle-box.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"Compile contracts": "truffle compile",
"Migrate contracts": "truffle migrate",
"Test contracts": "truffle test",
"Pull docker image standalone node": "truffle run moonbeam install",
"Start standalone node": "truffle run moonbeam start",
"Stop docker image standalone node": "truffle run moonbeam stop",
"Pause standalone node": "truffle run moonbeam pause",
"Unpause docker image standalone node": "truffle run moonbeam unpause",
"Get standalone node status": "truffle run moonbeam status",
"Remove docker image standalone node": "truffle run moonbeam remove"
"Pull docker image development node": "truffle run moonbeam install",
"Start development node": "truffle run moonbeam start",
"Stop docker image development node": "truffle run moonbeam stop",
"Pause development node": "truffle run moonbeam pause",
"Unpause docker image development node": "truffle run moonbeam unpause",
"Get development node status": "truffle run moonbeam status",
"Remove docker image development node": "truffle run moonbeam remove"
},
"hooks": {
"post-unpack": ""
Expand Down
4 changes: 2 additions & 2 deletions truffle-config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const HDWalletProvider = require('@truffle/hdwallet-provider');
// Standalone Development Node Private Key
// Moonbeam Development Node Private Key
const privateKeyDev =
'99B3C12287537E38C90A9219D4CB074A89A16E9CDB20BF85728EBD97C343E342';
// Moonbase Alpha Private Key --> Please change this to your own Private Key with funds
Expand All @@ -10,7 +10,7 @@ const privateKeyMoonbase =

module.exports = {
networks: {
// Standalode Network
// Moonbeam Development Network
dev: {
provider: () => {
if (!privateKeyDev.trim()) {
Expand Down

0 comments on commit 415f3bc

Please sign in to comment.