<p><a href="https://medium.com/geekculture/cardano-911-wallet-command-line-interface-part-two-982a096c50e2" rel="nofollow noreferrer">medium blog on cardano-wallet</a> answers my question.
I've downloaded the latest release from <code>https://github.com/input-output-hk/cardano-wallet/releases</code></p>
<p>Following command creates an address public and private key files <code>address.prv</code> and <code>address.pub</code></p>
<blockquote>
<p>cat $KEYS/root.prv <br />
| cardano-wallet key child 1852H/1815H/123H/0/0 <br />
| tee $KEYS/address.prv <br />
| cardano-wallet key public --with-chain-code &gt; $KEYS/address.pub</p>
</blockquote>
<p><code>1852H/1815H/123H/0/0</code> is derivation path <code>purpose, coin_type, account_index, role, address_index</code></p>
<p><code>1825</code> is purpose cardano network</p>
<p><code>1815</code> is Ada Lovelace's birth year and ADA coin's code</p>
<p><code>123H</code> is account index</p>
<p><code>0</code> is role. <code>0</code> is for change, <code>1</code> is for staking etc...</p>
<p><code>H</code> means hardened</p>
<p>Following command generates a payment address. from address's public key.</p>
<blockquote>
<p>cat $KEYS/address.pub | cardano-address address payment <br />
--network-tag 1 &gt; $KEYS/address.pay</p>
</blockquote>

CC BY-SA 4.0
2021-11-15T21:00:04.197Z
2021-11-15T21:00:04.197Z
att
<p>cardano-wallets purpose is to allow easily manage your funds without getting too deep into certain complexity of deciding how to derive keys and addresses.</p>
<p>to solve it for you there is a <a href="https://github.com/input-output-hk/cardano-addresses" rel="nofollow noreferrer">cardano-addresses</a> project that gives you much greater control over the key derivation paths.</p>

CC BY-SA 4.0
2021-11-15T20:39:12.057Z
2021-11-15T20:39:12.057Z
andycandy
<p>Developing a wallet service for cardano using <code>cardano-wallet</code>api.
Having hard time aligning my existing HD wallet knowledge w/ cardano-wallet.</p>
<p>Need to create an address for an account [index 33] using HD derivation path.
etc. <code>m / purpose' / coin_type' / account' / change / address_index</code>
such as <code>m/1852/1815/11H/1/1/33</code> where account is <code>11</code>, change is <code>1</code> and <code>address_index</code> is <code>33</code>
using <a href="https://input-output-hk.github.io/cardano-wallet/api/edge/" rel="nofollow noreferrer">cardano-wallet API</a></p>
<p>How can I do that?</p>

<wallet>
How to create cardano address using cardano-wallet API and hd wallet derivation path
# How to create cardano address using cardano-wallet API and hd wallet derivation path

(Asked by: username_0 on 2021-11-15)

Developing a wallet service for cardano using `cardano-wallet`api.
Having hard time aligning my existing HD wallet knowledge w/ cardano-wallet.

Need to create an address for an account [index 33] using HD derivation path.
etc. `m / purpose' / coin_type' / account' / change / address_index`
such as `m/1852/1815/11H/1/1/33` where account is `11`, change is `1` and `address_index` is `33`
using [cardano-wallet API](https://input-output-hk.github.io/cardano-wallet/api/edge/)

How can I do that?

**Tags:** wallet

---

## 2 answers

### Answer by username_1 on 2021-11-15. Score: 1 | Accepted answer

cardano-wallets purpose is to allow easily manage your funds without getting too deep into certain complexity of deciding how to derive keys and addresses.

to solve it for you there is a [cardano-addresses](https://github.com/input-output-hk/cardano-addresses) project that gives you much greater control over the key derivation paths.


---

### Answer by username_0 on 2021-11-15. Score: 0

[medium blog on cardano-wallet](https://medium.com/geekculture/cardano-911-wallet-command-line-interface-part-two-982a096c50e2) answers my question.
I've downloaded the latest release from `https://github.com/input-output-hk/cardano-wallet/releases`

Following command creates an address public and private key files `address.prv` and `address.pub`

> cat $KEYS/root.prv   
> | cardano-wallet key child 1852H/1815H/123H/0/0   
> | tee $KEYS/address.prv   
> | cardano-wallet key public --with-chain-code > $KEYS/address.pub

`1852H/1815H/123H/0/0` is derivation path `purpose, coin_type, account_index, role, address_index`

`1825` is purpose cardano network

`1815` is Ada Lovelace's birth year and ADA coin's code

`123H` is account index

`0` is role. `0` is for change, `1` is for staking etc...

`H` means hardened

Following command generates a payment address. from address's public key.

> cat $KEYS/address.pub | cardano-address address payment   
> --network-tag 1 > $KEYS/address.pay


---

