Last update: January 26, 2024

2 - Implement custodian API

During the implementation of the Ethereum custodian API, MMI will assist the custodian in development and deployment.

  • First, the custodian will define the URLs of the three required API endpoints, which they can change later. These will include the following
    • Base URL of the Ethereum Custodian API, (for example https://custodian-api/eth/ if the full URL is https://custodian-api/eth/v3/json-rpc)
    • JWKS endpoint (for example, https://custodian-api/.well-known/jwks.json) )
    • Refresh token endpoint (for example, https://custodian-api/oauth/token)
    • In addition, the custodian will prove the intended issuer claim of the customer proof JWT, for example https://custodian-api/eth/
    • The custodian must provide the URL of a square SVG image to use as an icon
  • MMI will allowlist these URLs
  • MMI will provide a version of the extension to the custodian
  • MMI will provide values for the RPC method used to onboard users to the extension
  • MMI will provide webhook credentials to the custodian
  • The custodian will build a basic version of their API