PSG Services - gRPC API configuration

PSG Services are implemented as gRPC services and hosted by IOG; this describes how to use the services.

To discuss hosting these services, contact PSG (enterprise.solutions@iohk.io)

For test and development purposes, we provide a testnet facing version of the services.

Steps:

  1. Get proto files from PSG repository

  2. Generate gRPC clients with your preferred client generator, e.g. akka-grpc or scalapb

  3. Implement clients for one of the chosen services: Metadata, StoreAndHash or Native Assets

Connection Details

Note: Make sure that you use secure connection (TLS = true) for any request to PSG Services gRPC API.

Cardano Testnet

PSG Services

  • host: psg-testnet.iog.services

  • port: 2001

  • TLS true

  • client_id: your username from PSG Self Serve UI

  • api_token: token, generated at API Token page

Native Assets Service

  • host: psg-testnet.iog.services

  • port: 2002

  • TLS false

  • client_id: your username from PSG Self Serve UI

  • api_token: token, generated at API Token page

Cardano Mainnet

PSG Services

  • host: psg.iog.services

  • port: 2001

  • TLS true

  • client_id: your username from PSG Self Serve UI

  • api_token: token, generated at API Token page

Native Assets Service

  • host: psg.iog.services

  • port: 2002

  • TLS false

  • client_id: your username from PSG Self Serve UI

  • api_token: token, generated at API Token page