Configuration
Once you have the basic knowledge and understanding about how decentralized social networks work, it's time to get started building your own Social Dapp. To integrate Subsocial with your dApp, you have to add the following configuration settings (we recommend starting with the testnet):
- TestNet
- MainNet
- xSocial
- LocalNet
const config = {
substrateNodeUrl: "wss://para.f3joule.space",
ipfsNodeUrl: "https://ipfs.subsocial.network",
};
Read more about Subsocial mainnet here.
const config = {
substrateNodeUrl: "wss://rco-para.subsocial.network",
ipfsNodeUrl: "https://gw.crustfiles.app",
};
Read more about Subsocial testnet here.
const config = {
substrateNodeUrl: "wss://xsocial.subsocial.network",
ipfsNodeUrl: "https://gw.crustfiles.app",
};
Read more about xSocial chain here.
const config = {
substrateNodeUrl: "http://127.0.0.1:9944",
ipfsNodeUrl: "http://127.0.0.1:8080",
};
caution
Make sure to run local Subsocial & IPFS node before using these configs in your project.