diff --git a/.env.example b/.env.example index 75e03bfc..da63237e 100644 --- a/.env.example +++ b/.env.example @@ -8,4 +8,5 @@ SECRET_AUTHENTICATION_MNEMONIC= SECRET_ASSERTION_METHOD_MNEMONIC= SECRET_KEY_AGREEMENT_MNEMONIC= GRAPHQL_ENDPOINT=https://indexer.kilt.io/ +# while using the "...kilt.io" endpoints, please add a trailing "/" so that polkadot.js displays the right colors. POLKADOT_RPC_ENDPOINT=kilt.ibp.network diff --git a/src/components/CTypeDetails/CTypeDetails.astro b/src/components/CTypeDetails/CTypeDetails.astro index 14322d3b..0b2541e9 100644 --- a/src/components/CTypeDetails/CTypeDetails.astro +++ b/src/components/CTypeDetails/CTypeDetails.astro @@ -47,10 +47,6 @@ const version = schema === schemaV1 ? 'V1' : 'draft-01'; const kiltCType = CType.fromProperties(title, properties, version); const { w3nOrigin, indexer } = configuration; - -const polkadotExplorerRPC = - indexer.polkadotRPCEndpoint + - (indexer.polkadotRPCEndpoint.split('.').at(-1) === 'network' ? '' : '%2F'); ---
@@ -103,7 +99,7 @@ const polkadotExplorerRPC = Registration Block {block}