-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<fix>(demo): change fabric receiver for htlc demo (#436)
- Loading branch information
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,8 +100,8 @@ login org1-admin 123456 | |
listAccount | ||
listResources | ||
setDefaultAccount Fabric1.4 1 | ||
call payment.fabric.htlc balanceOf User1@org1.example.com | ||
newHTLCProposal payment.fabric.htlc bea2dfec011d830a86d0fbeeb383e622b576bb2c15287b1a86aacdba0a387e11 null false 0x4305196480b029bbecb071b4b68e95dfef36a7b7 0x2b5ad5c4795c026514f8317c7a215e218dccd6cf 700 2000010000 [email protected] User1@org1.example.com 500 2000000000 | ||
call payment.fabric.htlc balanceOf User1@org2.example.com | ||
newHTLCProposal payment.fabric.htlc bea2dfec011d830a86d0fbeeb383e622b576bb2c15287b1a86aacdba0a387e11 null false 0x4305196480b029bbecb071b4b68e95dfef36a7b7 0x2b5ad5c4795c026514f8317c7a215e218dccd6cf 700 2000010000 [email protected] User1@org2.example.com 500 2000000000 | ||
quit | ||
EOF | ||
cd .. | ||
|
@@ -112,7 +112,7 @@ login org2-admin 123456 | |
listAccount | ||
listResources | ||
call payment.bcos.htlc balanceOf 0x2b5ad5c4795c026514f8317c7a215e218dccd6cf | ||
newHTLCProposal payment.bcos.htlc bea2dfec011d830a86d0fbeeb383e622b576bb2c15287b1a86aacdba0a387e11 9dda9a5e175a919ee98ff0198927b0a765ef96cf917144b589bb8e510e04843c true 0x4305196480b029bbecb071b4b68e95dfef36a7b7 0x2b5ad5c4795c026514f8317c7a215e218dccd6cf 700 2000010000 [email protected] User1@org1.example.com 500 2000000000 | ||
newHTLCProposal payment.bcos.htlc bea2dfec011d830a86d0fbeeb383e622b576bb2c15287b1a86aacdba0a387e11 9dda9a5e175a919ee98ff0198927b0a765ef96cf917144b589bb8e510e04843c true 0x4305196480b029bbecb071b4b68e95dfef36a7b7 0x2b5ad5c4795c026514f8317c7a215e218dccd6cf 700 2000010000 [email protected] User1@org2.example.com 500 2000000000 | ||
quit | ||
EOF | ||
cd .. | ||
|
@@ -134,7 +134,7 @@ EOF | |
login org1-admin 123456 | ||
listAccount | ||
listResources | ||
call payment.fabric.htlc balanceOf User1@org1.example.com | ||
call payment.fabric.htlc balanceOf User1@org2.example.com | ||
quit | ||
EOF | ||
cd .. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -147,8 +147,8 @@ main() { | |
|
||
LOG_INFO "Config htlc successfully!\n" | ||
LOG_INFO "Now, you can make a cross-chain transfer by WeCross console using following command!\n" | ||
echo -e "[BCOS user ]: newHTLCProposal payment.bcos.htlc bea2dfec011d830a86d0fbeeb383e622b576bb2c15287b1a86aacdba0a387e11 9dda9a5e175a919ee98ff0198927b0a765ef96cf917144b589bb8e510e04843c true 0x4305196480b029bbecb071b4b68e95dfef36a7b7 0x2b5ad5c4795c026514f8317c7a215e218dccd6cf 700 2000010000 [email protected] User1@org1.example.com 500 2000000000 | ||
\n[Fabric user]: newHTLCProposal payment.fabric.${FABRIC_HTLC} bea2dfec011d830a86d0fbeeb383e622b576bb2c15287b1a86aacdba0a387e11 null false 0x4305196480b029bbecb071b4b68e95dfef36a7b7 0x2b5ad5c4795c026514f8317c7a215e218dccd6cf 700 2000010000 [email protected] User1@org1.example.com 500 2000000000 | ||
echo -e "[BCOS user ]: newHTLCProposal payment.bcos.htlc bea2dfec011d830a86d0fbeeb383e622b576bb2c15287b1a86aacdba0a387e11 9dda9a5e175a919ee98ff0198927b0a765ef96cf917144b589bb8e510e04843c true 0x4305196480b029bbecb071b4b68e95dfef36a7b7 0x2b5ad5c4795c026514f8317c7a215e218dccd6cf 700 2000010000 [email protected] User1@org2.example.com 500 2000000000 | ||
\n[Fabric user]: newHTLCProposal payment.fabric.${FABRIC_HTLC} bea2dfec011d830a86d0fbeeb383e622b576bb2c15287b1a86aacdba0a387e11 null false 0x4305196480b029bbecb071b4b68e95dfef36a7b7 0x2b5ad5c4795c026514f8317c7a215e218dccd6cf 700 2000010000 [email protected] User1@org2.example.com 500 2000000000 | ||
" | ||
} | ||
|
||
|