A Demos instance to communicate with the RPC.
The payload to add the identity to.
Optional
referralCode: stringThe response from the RPC call.
Add a twitter identity to the GCR.
A Demos instance to communicate with the RPC.
The payload to add the identity to.
Optional
referralCode: stringThe response from the RPC call.
Create a web2 proof payload for use with web2 identity inference.
The web2 proof payload string.
Get the identities associated with an address.
A Demos instance to communicate with the RPC.
Optional
address: stringThe address to get identities for.
The identities associated with the address.
Get referral information for an address.
A Demos instance to communicate with the RPC.
Optional
address: stringThe address to get referral info for. Defaults to the connected wallet's address.
The referral information associated with the address.
Get the points associated with an identity
A Demos instance to communicate with the RPC
Optional
address: stringThe address to get points for. Defaults to the connected wallet's address.
The points data for the identity
Get the web2 identities associated with an address.
A Demos instance to communicate with the RPC.
Optional
address: stringThe address to get identities for.
The identities associated with the address.
Get the crosschain identities associated with an address.
A Demos instance to communicate with the RPC.
Optional
address: stringThe address to get identities for.
The identities associated with the address.
Infer a web2 identity from a proof payload.
A Demos instance to communicate with the RPC.
The payload to infer the identity from.
The validity data of the identity transaction.
Infer a crosschain identity from a signature.
A Demos instance to communicate with the RPC.
The payload to infer the identity from.
Optional
referralCode: stringThe validity data of the identity transaction.
Remove a web2 identity from the network.
A Demos instance to communicate with the RPC.
The payload to remove the identity.
The response from the RPC call.
Remove a crosschain identity from the network.
A Demos instance to communicate with the RPC.
The payload to remove the identity.
The response from the RPC call.
Validate a referral code to check if it exists and is valid.
A Demos instance to communicate with the RPC.
The referral code to validate.
The validation result containing validity status, referrer public key, and message.
Add a github identity to the GCR.