1
1
# DSS deployment scripts
2
+
2
3
![ Build Status] ( https://github.com/makerdao/dss-deploy-scripts/actions/workflows/.github/workflows/tests.yaml/badge.svg?branch=master )
3
4
4
5
A set of scripts that deploy [ dss] ( http://github.com/makerdao/dss ) to an
@@ -18,8 +19,8 @@ and `dapp` to modify the deployment, using the values in `out/config.json`.
18
19
19
20
The only way to install everything necessary to deploy is Nix. Run
20
21
21
- ```
22
- $ nix-shell --pure
22
+ ``` shell
23
+ nix-shell --pure
23
24
```
24
25
25
26
to drop into a Bash shell with all dependency installed.
@@ -60,7 +61,7 @@ File passed by parameter overwrites the environment variable.
60
61
61
62
Below is the expected structure of such a config file:
62
63
63
- ```
64
+ ``` json
64
65
{
65
66
"description" : " " ,
66
67
"omniaFromAddr" : " <Address being used by Omnia Service (only for testchain)>" ,
@@ -174,9 +175,9 @@ NOTE: Make sure to `launch` MCD_ADMIN if you are providing it in `config.authori
174
175
175
176
Currently, there are default config files for 3 networks:
176
177
177
- * a local testchain (e.g. ` dapp testnet ` )
178
- * Kovan
179
- * Mainnet
178
+ - a local testchain (e.g. ` dapp testnet ` )
179
+ - Goerli
180
+ - Mainnet
180
181
181
182
### Deploy on local testchain with default config file
182
183
@@ -188,9 +189,9 @@ The only case currently available is:
188
189
189
190
- ` crash-bite `
190
191
191
- ### Deploy on Kovan with default config file
192
+ ### Deploy on Goerli with default config file
192
193
193
- ` dss-deploy kovan `
194
+ ` dss-deploy goerli `
194
195
195
196
### Deploy on Mainnet with default config file
196
197
@@ -222,13 +223,13 @@ To enable full reproducibility of our deployments, we use Nix.
222
223
This command will drop you in a shell with all dependencies and environment
223
224
variables definend:
224
225
225
- ```
226
+ ``` shell
226
227
nix-shell --pure
227
228
```
228
229
229
230
You can even run deploy scripts without having to clone this repo:
230
231
231
- ```
232
+ ``` shell
232
233
nix run -f https://github.com/makerdao/dss-deploy-scripts/tarball/master -c dss-deploy testchain
233
234
```
234
235
@@ -240,7 +241,7 @@ repo is in [`default.nix`](default.nix).
240
241
241
242
To update smart contract dependencies use ` dapp2nix ` :
242
243
243
- ``` sh
244
+ ``` shell
244
245
nix-shell --pure
245
246
dapp2nix help
246
247
dapp2nix list
@@ -249,7 +250,7 @@ dapp2nix up vote-proxy <COMMIT_HASH>
249
250
250
251
To clone smart contract dependencies into working directory run:
251
252
252
- ``` sh
253
+ ``` shell
253
254
dapp2nix clone-recursive contracts
254
255
```
255
256
0 commit comments