2019-01-22 20:05:34 +00:00
|
|
|
# NuCypher Quickstart
|
|
|
|
|
2019-01-24 00:46:48 +00:00
|
|
|
## Ursula
|
|
|
|
|
|
|
|
### Install NuCypher
|
2019-01-22 20:05:34 +00:00
|
|
|
|
2019-01-23 05:58:41 +00:00
|
|
|
```bash
|
|
|
|
$ pip install nucypher
|
|
|
|
```
|
2019-01-22 20:05:34 +00:00
|
|
|
|
2019-01-24 00:46:48 +00:00
|
|
|
### Run a Federated-Only Development Ursula
|
2019-01-22 20:05:34 +00:00
|
|
|
|
2019-01-23 05:58:41 +00:00
|
|
|
```bash
|
|
|
|
$ nucypher ursula run --dev --federated-only
|
|
|
|
```
|
2019-01-22 20:05:34 +00:00
|
|
|
|
2019-01-24 00:46:48 +00:00
|
|
|
### Run a Geth-Connected Development Ursula
|
2019-01-22 20:05:34 +00:00
|
|
|
|
2019-01-23 05:58:41 +00:00
|
|
|
Run a local geth node in development mode:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ geth --dev
|
|
|
|
```
|
|
|
|
|
|
|
|
Run a local development Ursula connected to the geth node
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ nucypher ursula run --dev --provider-uri /tmp/geth.ipc --checksum-address <GETH_ADDRESS>
|
|
|
|
```
|
|
|
|
|
|
|
|
Replace `<GETH_ADDRESS>` with the geth node's public checksum address.
|
2019-01-24 00:46:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
## Alice
|
|
|
|
|
|
|
|
## Bob
|