Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
wxf4150 committed Nov 9, 2022
1 parent 698b913 commit 1652d0c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docker/obtest/test-shell-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 1652d0c

Please sign in to comment.