Add L1 Deposit
Note: This is a local only operation, in production you should send from your real doge wallet.
Description
Funds the P2PKH key specified and then funds latest block deposit address with your wallet.
Usage
city-rollup-user-cli l1-deposit --private-key <dogecoin l1 private key (hex, not wif)> --amount <amount to deposit in sats>
Example
Deposit 5 DOGE from the wallet with a private key 0ed2be709b9ac1cefb7c35449c423efd22bbfe5cff7aa08f00faad772c242a34
city-rollup-user-cli l1-deposit --private-key 0ed2be709b9ac1cefb7c35449c423efd22bbfe5cff7aa08f00faad772c242a34 --amount 500000000
Note
- The
rpc_address
can use the environment variableRPC_ADDRESS
to set the RPC address. - The
bitcoin_rpc
can use the environment variableBITCOIN_RPC
to set the bitcoin rpc address. - The
electrs_api
can use the environment variableELECTRS_API
to set the electrs api address.