Skip to content
This repository was archived by the owner on Mar 23, 2021. It is now read-only.

Commit 64230a7

Browse files
committed
Rename start script to swap in single app examples
1 parent 4b1e51c commit 64230a7

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Example for swapping Bitcoin for Ether
1+
# Example for swapping Bitcoin for Ether
22

33
An example project that shows how to swap Bitcoin for Ether with COMIT.
44

55
## How to run this example
66

7-
1. Make sure you have an environment setup through `create-comit-app`
7+
1. Make sure you have an environment setup through `create-comit-app`
88
2. Run `yarn install` to install the necessary dependencies
9-
3. Run `yarn start` to start the swap
9+
3. Run `yarn swap` to start the swap
1010
4. Hit `CTRL-C` once the swap is done.

new_project/examples/btc_eth/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "index.js",
66
"scripts": {
77
"check": "tsc && tslint -p . && prettier --check '**/*.{ts,json,yml}'",
8-
"start": "DOTENV_CONFIG_PATH=$HOME/.create-comit-app/env ts-node -r dotenv/config ./src/index.ts",
8+
"swap": "DOTENV_CONFIG_PATH=$HOME/.create-comit-app/env ts-node -r dotenv/config ./src/index.ts",
99
"fix": "tslint -p . --fix && prettier --write '**/*.{ts,js,json,yml}'",
1010
"env": "create-comit-app start-env"
1111
},

new_project/examples/erc20_btc/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Both maker and taker are processed in the same terminal.
66

77
## How to run this example
88

9-
1. Make sure you have an environment setup through `create-comit-app`,
9+
1. Make sure you have an environment setup through `create-comit-app`,
1010
2. Run `yarn install` to install the necessary dependencies,
11-
3. Run `yarn start` to start the swap,
11+
3. Run `yarn swap` to start the swap,
1212
4. Press `Enter` when asked to continue,
1313
5. Profit!

new_project/examples/erc20_btc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "index.js",
66
"scripts": {
77
"check": "tsc && tslint -p . && prettier --check '**/*.{ts,json,yml}'",
8-
"start": "DOTENV_CONFIG_PATH=$HOME/.create-comit-app/env ts-node -r dotenv/config ./src/index.ts",
8+
"swap": "DOTENV_CONFIG_PATH=$HOME/.create-comit-app/env ts-node -r dotenv/config ./src/index.ts",
99
"fix": "tslint -p . --fix && prettier --write '**/*.{ts,js,json,yml}'",
1010
"env": "create-comit-app start-env"
1111
},

0 commit comments

Comments
 (0)