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
28 changes: 2 additions & 26 deletions docs/guides/docs/running-a-node/running-a-local-node.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,39 +44,15 @@ Here is an example of what that looks like using version {props.fuelCoreVersion}

For simplicity, clone the [repository](https://github.com/FuelLabs/chain-configuration/tree/master) into the directory of your choice.

When using the `--snapshot` flag later, you can replace `./your/path/to/chain_config_folder` with the repository you just cloned `./chain-configuration/ignition/`.

Inside you should find these [specific configuration files](https://github.com/FuelLabs/chain-configuration/tree/master/local)

`chain_config.json`

<CodeImport
file="../../../chain-configuration/local/chain_config.json"
/>

`metadata.json`

<CodeImport
file="../../../chain-configuration/local/metadata.json"
/>

`state_config.json`

<CodeImport
file="../../../chain-configuration/local/state_config.json"
/>

`state_transition_bytecode.wasm`

Which is too large to display on this page, but you can find it [here](https://github.com/FuelLabs/chain-configuration/blob/master/local/state_transition_bytecode.wasm)
When using the `--snapshot` flag later, you can replace `./your/path/to/chain_config_folder` with the `local` folder of the repository you just cloned `./chain-configuration/local/`.

To start the node with a custom configuration, you can use the command below:

```sh
fuel-core run --snapshot ./your/path/to/chain_config_folder --db-type in-memory --debug
```

To find an example chain configuration folder for a specific `fuel-core` version, refer to the [`chain-configuration`](https://github.com/FuelLabs/chain-configuration/tree/master) repo.
To find an example `local` chain configuration folder for a specific `fuel-core` version, refer to the [`chain-configuration/local`](https://github.com/FuelLabs/chain-configuration/tree/master/local) repo.

### Funding a wallet locally

Expand Down
26 changes: 1 addition & 25 deletions docs/guides/docs/running-a-node/running-a-testnet-node.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -92,31 +92,7 @@ To run a local node with persistence, you must have a folder with the following

For simplicity, clone the [repository](https://github.com/FuelLabs/chain-configuration/tree/master) into the directory of your choice.

When using the `--snapshot` flag later, you can replace `./your/path/to/chain_config_folder` with the repository you just cloned `./chain-configuration/ignition/`.

Inside you should find these [specific configuration files](https://github.com/FuelLabs/chain-configuration/tree/master/ignition)

`chain_config.json`

<CodeImport
file="../../../chain-configuration/ignition/chain_config.json"
/>

`metadata.json`

<CodeImport
file="../../../chain-configuration/ignition/metadata.json"
/>

`state_config.json`

<CodeImport
file="../../../chain-configuration/ignition/state_config.json"
/>

`state_transition_bytecode.wasm`

Which is too large to display on this page, but you can find it [here](https://github.com/FuelLabs/chain-configuration/blob/master/ignition/state_transition_bytecode.wasm)
When using the `--snapshot` flag later, you can replace `./your/path/to/chain_config_folder` with the `ignition` folder of the repository you just cloned `./chain-configuration/ignition/`.

## Running a Local Node

Expand Down