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
- Host: GitHub
- URL: https://github.com/daostack/dx-deployment-script
- Owner: daostack
- License: gpl-3.0
- Created: 2019-01-12T17:14:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T11:51:12.000Z (over 2 years ago)
- Last Synced: 2025-03-24T15:21:53.222Z (3 months ago)
- Language: TypeScript
- Size: 777 KB
- Stars: 1
- Watchers: 3
- Forks: 3
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)