Transfer

Transfer CELO and Celo Dollars

Celo

Transfer CELO to a specified address. (Note: this is the equivalent of the old transfer:gold)

USAGE
$ celocli transfer:celo
OPTIONS
-k, --privateKey=privateKey Use a private key to sign local transactions with
--comment=comment Transfer comment
--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) Address of the sender
--ledgerAddresses=ledgerAddresses [default: 1] If --useLedger is set, this will get the first N
addresses for local signing
--ledgerConfirmAddress Set it to ask confirmation for the address of the transaction from
the ledger
--ledgerCustomAddresses=ledgerCustomAddresses [default: [0]] If --useLedger is set, this will get the array of
index addresses for local signing. Example --ledgerCustomAddresses
"[4,99]"
--to=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) Address of the receiver
--useLedger Set it to use a ledger wallet
--value=value (required) Amount to transfer (in wei)
EXAMPLE
celo --from 0xa0Af2E71cECc248f4a7fD606F203467B500Dd53B --to 0x5409ed021d9299bf6814279a6a1411a7e866a631 --value
10000000000000000000

See code: packages/cli/src/commands/transfer/celo.ts

Dollars

Transfer Celo Dollars to a specified address.

USAGE
$ celocli transfer:dollars
OPTIONS
-k, --privateKey=privateKey Use a private key to sign local transactions with
--comment=comment Transfer comment
--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) Address of the sender
--ledgerAddresses=ledgerAddresses [default: 1] If --useLedger is set, this will get the first N
addresses for local signing
--ledgerConfirmAddress Set it to ask confirmation for the address of the transaction from
the ledger
--ledgerCustomAddresses=ledgerCustomAddresses [default: [0]] If --useLedger is set, this will get the array of
index addresses for local signing. Example --ledgerCustomAddresses
"[4,99]"
--to=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) Address of the receiver
--useLedger Set it to use a ledger wallet
--value=value (required) Amount to transfer (in wei)
EXAMPLE
dollars --from 0xa0Af2E71cECc248f4a7fD606F203467B500Dd53B --to 0x5409ed021d9299bf6814279a6a1411a7e866a631 --value
1000000000000000000

See code: packages/cli/src/commands/transfer/dollars.ts

Gold

Transfer CELO to a specified address. DEPRECATION WARNING Use the "transfer:celo" command instead

USAGE
$ celocli transfer:gold
OPTIONS
-k, --privateKey=privateKey Use a private key to sign local transactions with
--comment=comment Transfer comment
--from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) Address of the sender
--ledgerAddresses=ledgerAddresses [default: 1] If --useLedger is set, this will get the first N
addresses for local signing
--ledgerConfirmAddress Set it to ask confirmation for the address of the transaction from
the ledger
--ledgerCustomAddresses=ledgerCustomAddresses [default: [0]] If --useLedger is set, this will get the array of
index addresses for local signing. Example --ledgerCustomAddresses
"[4,99]"
--to=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d (required) Address of the receiver
--useLedger Set it to use a ledger wallet
--value=value (required) Amount to transfer (in wei)
EXAMPLE
gold --from 0xa0Af2E71cECc248f4a7fD606F203467B500Dd53B --to 0x5409ed021d9299bf6814279a6a1411a7e866a631 --value
10000000000000000000

See code: packages/cli/src/commands/transfer/gold.ts