Skip to main content

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 variable RPC_ADDRESS to set the RPC address.
  • The bitcoin_rpc can use the environment variable BITCOIN_RPC to set the bitcoin rpc address.
  • The electrs_api can use the environment variable ELECTRS_API to set the electrs api address.