cardano-rosetta icon indicating copy to clipboard operation
cardano-rosetta copied to clipboard

Is that possible to expose the non-rosetta enpoint through rosetta-cardano?

Open ZiruiXue opened this issue 3 years ago • 1 comments

Hi team, I am currently working on pulling data from the cardano blockchain, like the validator status and slot leader info.

I think the rosetta-cardano will interact with the Cardano node through cardano-cli. Is that possible to expose the non-rosetta endpoint? Or is the only way to run the cardano-node and cardano-db-sync node exposed to graphQL?

ZiruiXue avatar Feb 14 '22 18:02 ZiruiXue

If you'd like to expose the Rosetta Cardano node you can use bind mount on run like --mount type=bind,source="$(pwd)"/ipc,target=/ipc, then set your CARDANO_NODE_SOCKET_PATH to node.socket in the local ipc directory for cardano-cli to use

catch-21 avatar Feb 15 '22 15:02 catch-21