An open API service indexing awesome lists of open source software.

https://github.com/buildonviction/masternodes-droplets


https://github.com/buildonviction/masternodes-droplets

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

          

# Step-by-step to provision infrastructure of masternodes on Digital Ocean

## Bring up

1. Configuration

Update `config.json` file at below fields:

- "doApiToken": Create an API token from DO with RW permission
- "sshKeyName": specify your ssh key registered on DO
- "privateKeyPath": path to the private ssh key on your machine
- "coinbasePrivateKeySun": private key of the SUN masternode
- "node": put in information for each masternode

2. Start up SUN masternode, which is included TomoMaster, TomoScan, Netstats

```
$ ./up.sh main
```

3. Start up other masternodes

```
$ ./up.sh node
```

## Bring down

```
$ ./down.sh main
$ ./down.sh node
```

## Update code and reload
```
VAGRANT_VAGRANTFILE=Vagrantfile.main vagrant ssh -c "consul kv put tomochain/reset 1"
```