Documentation Index
Fetch the complete documentation index at: https://docs.kynesys.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Discord
You can associate your Discord account with your DEMOS address by posting a cryptographic proof in a Discord channel where the DEMOS bot has access.The Key Server provides an OAuth-based Discord verification flow (
KeyServerClient.verifyOAuth("discord", ...)) that returns a signed attestation. Submitting that attestation as an on-chain identity is not currently exposed by the SDK — the previous addDiscordIdentityFromOAuth method was reverted (SDK commit 67c5bc5). For now, use the message-based flow below.1. Connect your wallet
2. Generate the Proof Payload
To link your Discord account to your DEMOS address, you need to post a message containing a proof in a Discord channel. The proof is a string that contains a message, a signature and your public key. You can generate a proof as shown below:The Discord message must be publicly accessible by the DEMOS network bot. Make sure you post in a channel where the bot can read messages.
3. Send an Identity request
After posting the proof message, copy the Discord message URL and use it to create an identity transaction as shown below: To get the message URL in Discord:- Right-click on your message
- Select “Copy Message Link”
https://discord.com/channels/{guildId}/{channelId}/{messageId}
Getting linked web2 accounts
After the confirmation block has been forged, you can retrieve all your linked accounts as shown:Removing Discord identity
You can create a transaction to remove your linked Discord account as shown:Supported URL Formats
The following Discord URL formats are supported for message-based verification:- Standard message URL:
https://discord.com/channels/{guildId}/{channelId}/{messageId} - PTB (Public Test Build):
https://ptb.discord.com/channels/{guildId}/{channelId}/{messageId} - Canary:
https://canary.discord.com/channels/{guildId}/{channelId}/{messageId} - Legacy domain:
https://discordapp.com/channels/{guildId}/{channelId}/{messageId}