I am running this code and getting this error when I try to authenticate. It works if I put testnet-clay in both ceramic and connectNetwork. Any ideas what I am doing wrong here? (I am trying to connect to our mainnet node https://ceramic.jp4g.xyz/ )
TypeError: Failed to construct 'URL': Invalid base URL
at new CeramicClient (ceramic-http-client.js:36:1)
at new Core (core.js:173:1)
at new WebClient (client.js:56:1)
at SelfID.authenticate (self.js:79:1)
at authenticateDid (selfId.ts:83:1)
mainnet is not a valid configuration value for the Ceramic network to connect to, you need to provide the URL of a Ceramic node or one of the supported predefined values, cf Configurations - Ceramic Developers
I misread the question - this isn’t about using the Ceramic mainnet network for running a daemon (support for which was added recently), this is about using it as an option in the self.id SDK, which isn’t supported.