Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Need support regarding Cardano API and SDK #4263

Open
kristieguo opened this issue Dec 16, 2019 · 2 comments
Open

Need support regarding Cardano API and SDK #4263

kristieguo opened this issue Dec 16, 2019 · 2 comments

Comments

@kristieguo
Copy link

Hi there.

This is the team of Jadepool Custody, a leading cryptocurrency custody product based in Shanghai. So far we have supported 26 blockchains. Right now we are in the process of supporting Cardano. We have some questions listed below regarding Cardano API and SDK. We'd really appreciate it if we could get help as soon as possible. Thank you.

  1. Is V0 API suitable for production? We found a V1 API but not sure if it was ready to use: https://cardanodocs.com/technical/wallet/api/v1/?v=1.6.0

  2. We tried to use /api/v0/block/{block_id} to get block details but no valid JSON returned. How to get block details by block index?

  3. For the incentivized testnet, we used the documentation here: https://input-output-hk.github.io/jormungandr/quickstart/04_explorer.html." However GraphQL didn't work. Do you have detailed documentation for query parameters?

http://127.0.0.1:8443/explorer/graphql
curl
-X POST
-H "Content-Type: application/json"
--data '{'
'"query": "{'
' status {'
' latestBlock {'
' chainLength'
' id'
' previousBlock {'
' id'
' }'
' }'
' }'
'}"'
'}' \

  1. According to a Cardano contributor, the SDK https://github.com/input-output-hk/cardano-js-sdk is not ready for production use and there are currently no SDK available for the MainNet. We want to put Cardano on production . What SDK should we use then?

  2. According to a Cardano contributor, the address format for the MainNet is still going under some design changes. Are addresses backward compatible after the design changes? How does exchanges that already supported Cardano generate mainnet addresses? We hope we can put Cardano on production soon.

@erikd
Copy link
Member

erikd commented Dec 16, 2019

  1. I am not sure what that V1 API is all about. The implementation of the V0 API is about to be replaced but the endpoints and should be mostly compatible.

  2. The correct endpoint is /api/block/{block_hash}

  3. If you want the developers of the cardano-graphql component to see this, you should log a ticket in the correct repo which is: https://github.com/input-output-hk/cardano-graphql/

@kristieguo
Copy link
Author

@erikd Thank you. Can you also help answer the other two questions?

  1. According to a Cardano contributor, the SDK https://github.com/input-output-hk/cardano-js-sdk is not ready for production use and there are currently no SDK available for the MainNet. We want to put Cardano on production . What SDK should we use then?

  2. According to a Cardano contributor, the address format for the MainNet is still going under some design changes. Are addresses backward compatible after the design changes? How does exchanges that already supported Cardano generate mainnet addresses? We hope we can put Cardano on production soon.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants