<p><code>cardano-rest-api</code> &amp; <code>cardano-graphql</code> are backend components that you can use to run your own infrastructure to read data from the blockchain or submit transaction to via the rest api. Graphql, I believe is required to run in combination with cardano-db-sync.</p>
<p><code>cardanocli-js</code> and <code>cardano-wallet-js</code> are JS libraries that correspond to cardano-cli and cardano-wallet.
The cli can be used to create transactions manually, make queries against a cardano node instance for retrieving infos of addresses or also to generate verification and signing keys for payment or staking.</p>
<p>The wallet is primarily concerned about allowing to create/ restore HDR wallets based on mnemonic phrases.</p>
<p>I recommend reading the docs for each for more info.</p>

CC BY-SA 4.0
2022-05-14T08:30:22.690Z
2022-05-14T08:30:22.690Z
Will
<p>I've been going through the cardano docs at <a href="https://developers.cardano.org/docs/get-started/" rel="nofollow noreferrer">https://developers.cardano.org/docs/get-started/</a> and have come across discussions around the cardano-wallet rest api and cardano-graphql implementation.  I also saw that there are implement js implementations for cardanocli and cardano-wallet.</p>
<p>I'm currently playing with the platform but eventually I'm planning on building a service in React.  What's the difference between the different interfaces and which is best to use?</p>
<p>For context I'm playing with a few ideas around minting ntf's and creating a new coin.</p>

CC BY-SA 4.0
2022-05-13T13:41:04.207Z
I would recommend you to checkout https://github.com/StricaHQ/typhonjs, which is a pure js Cardano wallet library, which will be sufficient to creating mint transactions and much more
Prashanth S.
<wallet><cardano-graphql><react>
cardanocli-js and cardano-wallet-js vs cardano-wallet rest api and cardano-graphql how do they differ?
# cardanocli-js and cardano-wallet-js vs cardano-wallet rest api and cardano-graphql how do they differ?

(Asked by: username_0 on 2022-05-12)

I've been going through the cardano docs at <https://developers.cardano.org/docs/get-started/> and have come across discussions around the cardano-wallet rest api and cardano-graphql implementation. I also saw that there are implement js implementations for cardanocli and cardano-wallet.

I'm currently playing with the platform but eventually I'm planning on building a service in React. What's the difference between the different interfaces and which is best to use?

For context I'm playing with a few ideas around minting ntf's and creating a new coin.

**Tags:** wallet, cardano-graphql, react
> **Comments:**
> **username_1**: I would recommend you to checkout https://github.com/StricaHQ/typhonjs, which is a pure js Cardano wallet library, which will be sufficient to creating mint transactions and much more  

---

## 1 answers

### Answer by username_2 on 2022-05-14. Score: 0

`cardano-rest-api` & `cardano-graphql` are backend components that you can use to run your own infrastructure to read data from the blockchain or submit transaction to via the rest api. Graphql, I believe is required to run in combination with cardano-db-sync.

`cardanocli-js` and `cardano-wallet-js` are JS libraries that correspond to cardano-cli and cardano-wallet.
The cli can be used to create transactions manually, make queries against a cardano node instance for retrieving infos of addresses or also to generate verification and signing keys for payment or staking.

The wallet is primarily concerned about allowing to create/ restore HDR wallets based on mnemonic phrases.

I recommend reading the docs for each for more info.


---

