From 1652d0ce895b2c5ff3b21ac3562bf903c367edb8 Mon Sep 17 00:00:00 2001 From: wuxiaofei Date: Wed, 9 Nov 2022 18:39:49 +0800 Subject: [PATCH] update doc --- docker/obtest/test-shell-template.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docker/obtest/test-shell-template.md b/docker/obtest/test-shell-template.md index 53517fa14d..5c4a9d3dc7 100644 --- a/docker/obtest/test-shell-template.md +++ b/docker/obtest/test-shell-template.md @@ -8,8 +8,8 @@ docker | latest ## startup ```bash -#all test is in the obest directory -cd obest +#all test is in the docker/obtest directory +cd docker/obtest ./start-compose.sh # ./reset-compose.sh will reset exists test env. @@ -63,7 +63,7 @@ export b_address=mzrUe6zbrVJua6jtcjzMWXgq4yjLRqT1st * faucet-swager-api: https://swagger.oblnd.top/?surl=https://faucet.oblnd.top/openapiv2/foo.swagger.json * omnicoreporxy-server wallet addre ms5u6Wmc8xF8wFBo9w5HFouFNAmnWzkVa6 have enough test-coin to send you. * omnicoreporxy have pre-created an asset which id is 2147483651; -* the SendCoin api will every invoke will send you 1btc and 100 asset. +* the SendCoin api every invoke will send you 1btc and 100 asset. ```shell #send test coin form curl export assetId=2147483651 @@ -173,14 +173,15 @@ export b_url="$b_pubkey@bob:9735" ``` ## mine +deprecated: regnet pre-created omnicore-proxy-server use [faucet](#faucet) Mine api ```shell docker compose exec -u 1000 omnicored omnicore-cli generatetoaddress 3 mtowceAw2yeftR1pPg15QcsDqsnSik7Spz export asset_id=2147483651 ``` ## send_coin +deprecated: regnet pre-created omnicore-proxy-server use [faucet](#faucet) SendCoin api ```shell - #send_coin to alice , will send 1 btc and 100Asset to alice, the assetId 2147483651 docker compose exec -u 1000 omnicored send_coin.sh $a_address