dfinity / keysmith

Hierarchical Deterministic Key Derivation for the Internet Computer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

icp transaction build or transfer

MacOMNI opened this issue · comments

How long can we support icp transaction build or transfer func

As mentioned in the Introduction, payments is not in scope for this repository. Consider using Keysmith in conjunction with the DFINITY Canister SDK:

keysmith private-key -f=seed.txt -o=identity.pem # Derive your private key.
echo {} > dfx.json # Create a dfx project directory.
dfx identity import alternate identity.pem # Import your private key.
dfx identity use alternate # Use your private key to sign messages.
dfx ledger account-id # Print your account identifier.
dfx ledger --network=https://ic0.app balance # Check your balance.
dfx ledger --network=https://ic0.app transfer \ # Send me some tokens.
    --amount=1.23456789 \ # ICP is divisible by 10^(-8) just like Bitcoin.
    --memo=244837814094590 \ # Include a numeric memo.
    --to=89e99f79ec4d81f77a6c8cb243e536e7b3244d7294fb803bcd77b3dd4e32ae36