@@ -11,5 +11,7 @@ All notable changes to this project will be documented in this file.
- Update configuration files from p2p/verMix to p2p/verMin from[@libangzhu](https://github.com/libangzhu).
- Update p2p version Logic(if you do not fill in the range of p2p version,then verMin=version,verMax=verMin+1) from[@libangzhu](https://github.com/libangzhu).
# [6.2]
### Changed
- Update dapp coins command line name, 'bty' not supported any more, 'coins' recommended
echo"=========== # save seed to wallet ============="
result=$(${CLI4} seed save -p 1314 -s"tortoise main civil member grace happy century convince father cage beach hip maid merry rib" | jq ".isok")
result=$(${CLI4} seed save -p 1314fuzamei-s"tortoise main civil member grace happy century convince father cage beach hip maid merry rib" | jq ".isok")
if["${result}"="false"];then
echo"save seed to wallet error seed, result: ${result}"
#sudo docker exec -it $name ./chain33-cli send bty transfer -k $fromAdd -t $execAdd -n $note -a $amount
result=$($name send bty transfer -k"${fromAdd}"-t"${execAdd}"-n"${note}"-a"${amount}")
#sudo docker exec -it $name ./chain33-cli send coins transfer -k $fromAdd -t $execAdd -n $note -a $amount
result=$($name send coins transfer -k"${fromAdd}"-t"${execAdd}"-n"${note}"-a"${amount}")
echo"hash : $result"
}
...
...
@@ -41,7 +41,7 @@ function showPrivacyBalance() {
function init(){
echo"=========== # start set wallet 1 ============="
echo"=========== # save seed to wallet ============="
result=$(./chain33-cli seed save -p 1314 -s"tortoise main civil member grace happy century convince father cage beach hip maid merry rib" | jq ".isok")
result=$(./chain33-cli seed save -p 1314fuzamei-s"tortoise main civil member grace happy century convince father cage beach hip maid merry rib" | jq ".isok")
if["${result}"="false"];then
echo"save seed to wallet error seed, result: ${result}"
fmt.Println("Use similarly as bty/token/trade/bind_miner raw transaction creation, in addition to the parameter of private key or from address input following \"-k\".")
fmt.Println("e.g.: cli send bty transfer -a 1 -n note -t toAddr -k privKey/fromAddr")
fmt.Println("e.g.: cli send coins transfer -a 1 -n note -t toAddr -k privKey/fromAddr")