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

https://github.com/daostack/dx-deployment-script

DxDAO deployment script
https://github.com/daostack/dx-deployment-script

Last synced: 2 months ago
JSON representation

DxDAO deployment script

Awesome Lists containing this project

README

        

# Dutchx Deployment Script
A script that creates a simulated DutchX DAO. The script framework is derived from [@daostack/arc.js-scripts](https://github.com/daostack/arc.js-scripts).

## Installation

```
npm install
npm run build
npm run migrateContracts
```

## Create a Dutchx DAO

The script is "dutchx_scripts\daoCreateDutchX.ts".

### On Ganache

```
npm run ganache
npm run migrateContracts
npm run script daoCreateDutchX [path to a config file]
```

See "dutchx_scripts/configurations/example-config.json" on how to create a config file.

### On Kovan or Rinkeby

Provide a nmemonic and url:

```
npm run script -- -n "file turkey house..." -u "https://kovan.infura.io/..." daoCreateDutchX [path to a config file]
```
See "dutchx_scripts/configurations/example-config.json" on how to create a config file.

### Troubleshooting

#### Nothing Happens

If the script returns without executing your script, make sure that a node is listening on the url you
provided in your provider configuration file.

#### Nonce Errors Using Infura

If you are using Infura and are experiencing "nonce too low" errors, then let the script know you are using Infura by either naming the network "kovan" in a providerConfig JSON file, or by supplying the `--i` option on the command line.

### Help

After running `npm run build`, run:

```
npm run help
```

### More About Arc.Js-Scripts

See [@daostack/arc.js-scripts](https://github.com/daostack/arc.js-scripts)