tp

Crypto1010 User Guide

Introduction

Crypto1010 is a command-line blockchain wallet simulator. It supports account login/registration, wallet creation, key generation, wallet-to-address transfers, account-to-account transfers, balance queries, wallet history lookup, and blockchain validation.

The application is designed for educational use and records transactions in a simple blockchain persisted as JSON. Each account has its own isolated wallets, blockchain data, and transaction history after login.


Table of Contents


Startup Authentication

Features

CLI Productivity Features

Command Formatting

help: Display command help

Format: help [c/COMMAND]

Examples:

tutorial: Enter tutorial mode

Format: tutorial start

create: Create a wallet

Format: create w/WALLET_NAME [curr/CURRENCY]

Examples:

list: List wallets

Format: list

keygen: Generate keys for a wallet

Format: keygen w/WALLET_NAME

Example:

balance: Show wallet balance

Format: balance w/WALLET_NAME

Example:

send: Create a transfer transaction

Format: send w/WALLET_NAME to/RECIPIENT_ADDRESS amt/AMOUNT [speed/SPEED] [fee/FEE] [note/MEMO]

Examples:

crossSend: Cross-account transfer

Format: crossSend acc/ACCOUNT_NAME amt/AMOUNT curr/CURRENCY

Examples:

history: Show wallet send history

Format: history w/WALLET_NAME

Example:

validate: Validate blockchain integrity

Format: validate

viewchain: View blockchain overview

Format: viewchain

Example:

viewblock: View one block

Format: viewblock INDEX

Example:

logout: Log out of the current account

Format: logout

exit: Save and terminate

Format: exit


Coming Soon

Based on planned work tracked in project discussions/issues, the next user-facing feature is:

Cross-account address discovery (planned)

This feature is not available yet in the current release.


Command Summary


Data and Persistence


FAQ

Q: Do different users share wallets and blockchain data?
A: No. Each login account gets its own wallet list and blockchain file under its account directory.

Q: Where is my blockchain data stored?
A: In data/accounts/USERNAME/blockchain.json for the currently logged-in account.

Q: Can I access and change wallet attributes in the text file directly?
A: Tampering with saved files is heavily discouraged as many attributes are cryptographically determined, hence tampering can easily cause issues. In the program, many edits to the save files will cause corruption, hence the file data will often not be loaded for safety purposes.

Q: Why am I blocked from login even with the correct password?
A: After repeated failed attempts, that username is locked for 30 seconds. Wait and retry.

Q: Can I transfer to a wallet name directly?
A: send requires a recipient address string in to/. For direct account-to-account transfer, use crossSend acc/ACCOUNT_NAME amt/AMOUNT curr/CURRENCY.

Q: What happens if I send to a wallet address that belongs to another wallet in my current account?
A: The app resolves that address to the matching local wallet name and credits that wallet on-chain. This is only for wallets in the current logged-in account.

Q: What does history show?
A: history w/WALLET_NAME shows the wallet’s recorded outgoing send history, not every blockchain transfer involving that wallet.