docs: update CLI command syntax across workflow documentation
Some checks failed
CLI Tests / test-cli (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Documentation Validation / validate-docs (push) Has been cancelled
API Endpoint Tests / test-api-endpoints (push) Has been cancelled
Some checks failed
CLI Tests / test-cli (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Documentation Validation / validate-docs (push) Has been cancelled
API Endpoint Tests / test-api-endpoints (push) Has been cancelled
- Updated marketplace commands: `marketplace --action` → `market` subcommands - Updated wallet commands: direct flags → `wallet` subcommands - Updated AI commands: `ai-submit`, `ai-status` → `ai submit`, `ai status` - Updated blockchain commands: `chain` → `blockchain info` - Standardized command structure across all workflow files - Affected files: MULTI_NODE_MASTER_INDEX.md, TEST_MASTER_INDEX.md, multi-node-blockchain-marketplace
This commit is contained in:
@@ -21,7 +21,7 @@ fi
|
||||
# Get wallet addresses
|
||||
echo "2. Getting wallet addresses..."
|
||||
GENESIS_ADDR=$(cat /var/lib/aitbc/keystore/aitbc1genesis.json | jq -r '.address')
|
||||
TARGET_ADDR=$(/opt/aitbc/aitbc-cli balance --name aitbc-user 2>/dev/null | grep "Address:" | awk '{print $2}' || echo "")
|
||||
TARGET_ADDR=$(/opt/aitbc/aitbc-cli wallet balance aitbc-user 2>/dev/null | grep "Address:" | awk '{print $2}' || echo "")
|
||||
|
||||
echo "Genesis address: $GENESIS_ADDR"
|
||||
echo "Target address: $TARGET_ADDR"
|
||||
@@ -91,12 +91,8 @@ else
|
||||
|
||||
# Try alternative method using CLI
|
||||
echo "7. Trying alternative CLI method..."
|
||||
/opt/aitbc/aitbc-cli send \
|
||||
--from $GENESIS_WALLET \
|
||||
--to $TARGET_ADDR \
|
||||
--amount $AMOUNT \
|
||||
--fee $FEE \
|
||||
--password-file $PASSWORD_FILE
|
||||
PASSWORD=$(cat $PASSWORD_FILE)
|
||||
/opt/aitbc/aitbc-cli wallet send $GENESIS_WALLET $TARGET_ADDR $AMOUNT $PASSWORD
|
||||
fi
|
||||
|
||||
# Final verification
|
||||
|
||||
Reference in New Issue
Block a user