From 844f44111992cfd09b80198c26c1c01c4977547f Mon Sep 17 00:00:00 2001 From: Joris Bontje Date: Tue, 26 Apr 2016 07:48:58 +0200 Subject: [PATCH] mainnet deployment --- README.md | 8 ++++---- dappfile | 5 +++++ frontend/client/templates/noethereum.html | 4 ++-- scripts/deploy_mainnet.ds | 2 ++ 4 files changed, 13 insertions(+), 6 deletions(-) create mode 100644 scripts/deploy_mainnet.ds diff --git a/README.md b/README.md index dc6cf0e..1e3f772 100644 --- a/README.md +++ b/README.md @@ -89,10 +89,10 @@ gulp deploy ## Gas Costs ``` -new SimpleMarketMorden: 909958 gas -SimpleMarketMorden.offer: 140395-186235 gas -SimpleMarketMorden.cancel: 33882 gas -SimpleMarketMorden.buy: 49306-51707 gas +new SimpleMarket: 927556 gas +SimpleMarket.offer: 140395-186235 gas +SimpleMarket.cancel: 33882 gas +SimpleMarket.buy: 49306-51707 gas ``` ## TODOs diff --git a/dappfile b/dappfile index 607e81e..3df8d92 100644 --- a/dappfile +++ b/dappfile @@ -14,3 +14,8 @@ environments: otc: class: SimpleMarketMorden address: '0xaaa17aff5a660f73baf140ee02ff805fb79fd845' + live: + objects: + otc: + class: SimpleMarketMainnet + address: '0xf51bc4633f5924465c8c6317169faf3e4312e82f' diff --git a/frontend/client/templates/noethereum.html b/frontend/client/templates/noethereum.html index 70c2e02..6b32a6e 100644 --- a/frontend/client/templates/noethereum.html +++ b/frontend/client/templates/noethereum.html @@ -3,6 +3,6 @@

Ethereum not found

Maker-OTC requires an Ethereum client to be running and current. Maker-OTC could not detect a client running which probably means it's not installed, running or is misconfigured.

Start geth with:

-
geth --testnet --rpc --rpccorsdomain {{rpccorsdomain}}
-

Optionally add --unlock 0xYourAddress to unlock an account.

+
geth --rpc --rpccorsdomain {{rpccorsdomain}}
+

Optionally add --unlock 0xYourAddress to unlock an account and/or --testnet to connect to the Morden testnet.

\ No newline at end of file diff --git a/scripts/deploy_mainnet.ds b/scripts/deploy_mainnet.ds new file mode 100644 index 0000000..26aa68a --- /dev/null +++ b/scripts/deploy_mainnet.ds @@ -0,0 +1,2 @@ +var otc = new SimpleMarketMainnet() +export otc