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

Commit d1fe54f

Browse files
committed
Swap 50 Ether for 1 Bitcoin
1 parent 53338ff commit d1fe54f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

new_project/examples/separate_apps/src/maker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ import { createActor, sleep } from "./lib";
6868
tradingPair: "ETH-BTC",
6969
validUntil: moment().unix() + 300,
7070
ask: {
71-
nominalAmount: "9",
71+
nominalAmount: "50",
7272
asset: "ether",
7373
ledger: "ethereum",
7474
},

new_project/examples/separate_apps/src/taker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ import { createActor, sleep } from "./lib";
5656
return false;
5757
}
5858
// Only accept orders that are at least 1 bitcoin for 10 Ether
59-
const minRate = 0.1;
59+
const minRate = 0.001;
6060
const orderRate = bitcoin / ether;
6161
console.log("Rate offered: ", orderRate);
6262
return orderRate > minRate;

0 commit comments

Comments
 (0)