mcdalso supports transaction signing with Ledger hardware wallets and can run against both local and remote nodes.
mcdwill always be used against a known deployment of the system, defaults can be loaded wherever possible. In most cases the only required configuration parameter is the
MCD_CHAIN) option and
ETH_FROM) sender account when not using a testnet.
-C, --chainoption to
kovan. Specify a sender account when sending transactions using the
-F, --fromoption, or via the
-C, --chainoption to the remote testchain Id. Mcd will auto-configure account settings via the testchain api so that no further configuration is required. To view a list of available testchains run:
C, --chainoption to
testnet. Mcd will auto-configure account testings for
dapp testnetso that no further configuration is required.
~/.dapp/testnet/8545/config/addresses.json. Configuration addresses can be loaded from a different location by setting the
ilkscommand to view the list off available Ilks.
I, --ilk=<id>option is used to scope commands to a particular Ilk:
gem [<subcommand>]to manage collateral balances for any given Ilk.
joincommand can add collateral from the sender account to any specified Urn. The
exitcommand can remove collateral from a specified Urn, provided that the sender controls the private key associated with that Urn.
ETH_FROMis used to determine which Urn should be credited with collateral. Use
U, --urn=<address>to optionally credit an Urn other than the default.
exitcommand can remove collateral from a specified Urn, provided that the sender controls the private key associated with that Urn. The
exitcommand can also withdraw collateral to an account other than
ETH_FROMbuy passing the destination address as an additional argument:
urncommand to view Urn state for any given Ilk:
ETH_FROMis used to determine which Urn to query. Use the
U, --urn=<address>option to query Urns at other indexes.
urn.art) is managed via the
frob <dink> <dart>command, where
dartare delta amounts by which
ink(Locked collateral) and
art(Outstanding debt) should be changed. For example, to lock 100 WETH and draw 400 Dai on the ETH-A Ilk:
dai [<subcommand>]to manage dai balances.
dai exit. Dai can be returned to repay Urn debt via
dai balancecommand displays the internal system (vat) balance and the external (ext) token balance:
extas an argument to the
cdpcommand provides compatability with CDPs managed via the CDP Portal and uses the same proxy contract and Cdp Manager font-end. This allows CDPs to be managed via a unique integer identifier rather than the
ETH_FROMis set to an address controlled by the user, and that the
MCD_CHAINenv variable has been set to a vaild chain identifier.
unwrapcommands are provided for exchanging ETH to WETH and visa versa.