Skip to main content

For Mainnet

This section covers information about Subsocial's Mainnet i.e. SubsocialX.

Subsocial mainnet is the parachain on Polkadot network that holds main social profiles of the people and can be used on Grill.

SDK Configuration

const config = {
substrateNodeUrl: "wss://para.f3joule.space",
ipfsNodeUrl: "https://ipfs.subsocial.network",
};

Read more here.

GraphQL Configuration

Our GraphQL API endpoint: https://squid.subsquid.io/subsocial/graphql

import { ApolloClient, InMemoryCache, gql } from '@apollo/client'

const API_URL = 'https://squid.subsquid.io/subsocial/graphql'

/* create the API client */
export const client = new ApolloClient({
uri: API_URL,
cache: new InMemoryCache()
})
note

Detailed docs on GraphQL API & query options can be found easily on the API Endpoint here.

Read more details here.