Skip to content
1 change: 1 addition & 0 deletions .env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GATSBY_IS_STAGING=true
88 changes: 88 additions & 0 deletions content/02-getting-started/01-installing-the-cardano-node.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,94 @@ the source code using either of the following:
Once you have installed the node, you need to
[specify the configuration parameters](https://github.com/input-output-hk/cardano-node/blob/master/doc/getting-started/understanding-config-files.md/).

### How to Run the Cardano node and CLI using Docker
There is also a Docker image available that you can use.

#### Setting up Docker

1. Download and install Docker/Docker Desktop from the [Docker site](https://docs.docker.com/get-docker/).
2. If using Windows or Mac, ensure you have allocated enough RAM to Docker (we recommend setting the RAM to 8GB in the Docker Desktop requirements) and start the Docker daemon, as described in the Docker instructions. Note that Docker on Linux, there are no RAM limits for containers by default.

#### Setting up the Cardano node
1. Download the correct `cardano-node` image:

``docker image pull inputoutput/cardano-node:<TAG>``

where `<TAG>` is the tag for the version that you require (e.g. `latest` for the most recent stable version, or `1.27.0` for node version 1.27.0).

2. Create local `data` and `node-ipc` volumes:

```
docker volume create cardano-node-data
docker volume create cardano-node-ipc
```

## Running the Cardano node

1. Run a passive node that is connected to the correct network. For example, for a `mainnet` node:

``docker run -e NETWORK=mainnet -v node-ipc:/ipc -v data:/data inputoutput/cardano-node``

This creates a persistent docker environment for the node, where `/ipc` in the Docker container is connected to the logical `node-ipc`volume, and `/data` is connected to the `data` volume. Note that you should change `NETWORK=mainnet` if you are connecting to a different network (eg a testnet).

You may also run the node with specific parameters:

``docker run -v node-ipc:/ipc -v data:/data inputoutput/cardano-node run --help``

### Passing Explicit Configuration Parameters
If there is no pre-defined network configuration, you will need to download the specified configuration files, copy these to the persistent Docker volume, and pass the parameters on the command line:

``docker run -v node-ipc:/ipc -v data:/data inputoutput/cardano-node run --config ... --topology ... --...``

## Running Cardano CLI commands
You can now run normal Cardano CLI commands, for example,
```
export CLI='docker run -it --entrypoint cardano-cli -e NETWORK=mainnet -e CARDANO_NODE_SOCKET_PATH=/ipc/node.socket -v node-ipc:/ipc inputoutput/cardano-node'
$CLI version
$CLI query tip --mainnet
$CLI transaction build-raw ... --mainnet
```
You need to specify `CARDANO_NODE_SOCKET_PATH` to point to the correct location in the container (`/ipc/node.socket` is the standard location).

## Running a Shell in the Docker Container
To run a shell in the container (so that you can inspect or change settings, for example), use the `bash` or `sh` entry point.

``docker run -it --entrypoint bash -v node-ipc:/ipc -v data:/data inputoutput/cardano-node``

You may now run any commands that you require with full access to the container's file systems.

```
bash-4.4# cd /data/db
bash-4.4# ls
immutable ledger lock protocolMagicId volatile
bash-4.4#
```

Alternatively, you can start the node container with a name:
`docker run --name cardano-node -e NETWORK=mainnet -v cardano-node-ipc:/ipc -v cardano-node-data:/data inputoutput/cardano-node`

In a separate terminal instance, run shell in an existing container:
`docker exec -it cardano-node bash`

## Copying files to/from the Docker Container
To copy files to/from the docker container use `docker cp`.

For example, if the process ID of the running container is `760199bf3561`

```
kh@vulcan:~$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
760199bf3561 inputoutput/cardano-node "/nix/store/p435ajna…" ...
```

Then to copy the `immutable` directory (if you have a cached version), for example, you can:

``docker cp db/immutable 760199bf3561:/data/db/immutable``

You can also mount local directories for use by the container. For example to share the `db` and `node-ipc` directories, you could:

``docker run ---mount type=bind,source="$(pwd)/db/",target=/data/db --mount type=bind,source="$(pwd)/node-ipc",target=/ipc inputoutput/cardano-node ...``

#### Related Topics

- [Using the command line interface](/getting-started/use-cli)
33 changes: 33 additions & 0 deletions content/06-cardano-components/11-daedalus-wallet.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
title: Daedalus wallet
metaTitle: Daedalus wallet
---
import { OpenInNew } from 'styled-icons/material/OpenInNew'
import { User } from 'styled-icons/boxicons-regular/User'

## Overview

Daedalus wallet is a full-node hierarchical deterministic (HD) desktop wallet for the ada currency. Daedalus comes bundled with a full Cardano node, and it stores the entire history of Cardano blockchain and validates all blocks and transactions for fully trustless and autonomous operation.

### Key features

- Easy installation with one-click setup of bundled Cardano node
- Locally stored wallets and encrypted private keys, not shared with third-party servers
- Trustless operation with locally running full Cardano node which independently validates full transaction history of the blockchain
- Supports Cardano network by participating in Cardano protocol
- Wallet backup and restoration using mnemonics phrases
- Staking Support
- Complete autonomy without reliance on third-party servers and services
- Paper wallet generator for offline storage of funds

### Downloading Daedalus

You should download the Daedalus wallet from our [official website](https://daedaluswallet.io/#download) *only*.

**Notes**:

- Daedalus runs on Windows, Mac, and Linux operating systems.
- After downloading, the wallet will sync with the blockchain to create a local copy of it. Currently, Daedalus (and the blockchain) take up around 6GB of local storage.

> For more information about Daedalus: [visit the dedicated Helpdesk page <OpenInNew className='content-link' />](https://iohk.zendesk.com/hc/en-us/categories/360000877653-Daedalus-Mainnet)

Loading