Create account and fill
Rippled installation
Run standalone
sudo rippled -a --start
Current ledger
rippled ledger current
Advance ledger
rippled ledger_accept
Check cerrent ledger again
rippled ledger current
Generate account
rippled wallet_propose > test-account.json &&
ACCOUNT=$(cat test-account.json | jq .result.account_id | sed 's/\"//g') && echo ACCOUNT: $ACCOUNT &&
SECRET=$(cat test-account.json | jq .result.master_seed | sed 's/\"//g') && echo SECRET: $SECRET
Hardcoded account info
rippled account_info rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh
New account info (there is no such yet)
rippled account_info $ACCOUNT
Sign trasfer from initial account
SIGNED_BLOB=$(rippled sign snoPBrXtMeMyMHUVTgbuqAfg1SUTb '{"TransactionType": "Payment", "Account": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh", "Destination": "'$ACCOUNT'", "Amount": "2000000000", "Sequence": 1, "Fee": "10000"}' offline | jq .result.tx_blob | sed 's/\"//g') && echo $SIGNED_BLOB
Send trasfer from initial account
rippled submit $SIGNED_BLOB
Hardcoded account info
rippled account_info rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh
New account info (there is no such yet)
rippled account_info $ACCOUNT
Sign trasfer from our account
SIGNED_BLOB=$(rippled sign $SECRET '{"TransactionType": "Payment", "Account": "'$ACCOUNT'", "Destination": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh", "Amount": "1000000000", "Sequence": 1, "Fee": "10000"}' offline | jq .result.tx_blob | sed 's/\"//g') && echo $SIGNED_BLOB
Send trasfer from our account
rippled submit $SIGNED_BLOB
Hardcoded account info
rippled account_info rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh
New account is created
rippled account_info $ACCOUNT