Skip to main content

Supported Wallet Standards

Push Chat is chain agnostic and even supports messaging wallet addresses, NFT addresses, all evms (and even non-EVM in the future). Below is the list of evergrowing standards that Push Chat is compatible with, either of which you can use as per your requirements —

Standard Wallet Address

  • Standard Wallet Address - Standard wallet is supported and used by default
  • usage - 0x99A08ac6254dcf7ccc37CeC662aeba8eFA666666
// Sending to standard wallet address - defaults to EVM format
await userAlice.chat.send('0x99A08ac6254dcf7ccc37CeC662aeba8eFA666666', {
content: 'Hello PushAI!',
});

Chain Agnostic Wallet Address

  • Chain Agnostic Wallet Address - Pass {chain_standard}:{account_id} format to use this instead of standard wallet address. SDK converts all normal wallet address to chain agnostic ones by default.
  • usage - eip155:0x99A08ac6254dcf7ccc37CeC662aeba8eFA666666
  • usage - cosmos:cosmos1t2uflqwqe0fsj0shcfkrvpukewcw40yjj6hdc0
  • usage - starknet:0x02dd1b492765c064eac4039e3841aa5f382773b598097a40073bd8b48170ab57
note

Blockchain Agnostic Wallet Address has been inspired by CAIP-10 standard, which is a great step in marking wallet address blockchain agnostic.

// Sending to chain agnostic wallet address, support eip155 currently
await userAlice.chat.send('eip155:0x99A08ac6254dcf7ccc37CeC662aeba8eFA666666', {
content: 'Hello PushAI!',
});

Lens profile / Cyberconnect profile / Any NFT profile

  • NFT profile - Pass nft:{chain_standard}:{nftChainId}:{nftContractAddress}:{nftTokenId}
  • usage - nft:eip155:11155111:0x42af3147f17239341477113484752D5D3dda997B:2:1683058528
// Sending to nft format, any nfts supported including .lens, .crypto, .polygon or your crypto punks
await userAlice.chat.send(
'nft:eip155:11155111:0x42af3147f17239341477113484752D5D3dda997B:2:1683058528',
{
content: 'Hello harsh.lens',
}
);

Any group or individual chat

  • Chat ID - Pass chatid that can be obtained from Push SDK to target a specific group (or dms)
  • usage - chatid:4ac5ab85c9c3d57adbdf2dba79357e56b2f9ef0256befe750d9f93af78d2ca68
// Sending to chain agnostic wallet address, support eip155 currently
await userAlice.chat.send(
'chatid:4ac5ab85c9c3d57adbdf2dba79357e56b2f9ef0256befe750d9f93af78d2ca68',
{
content:
'Hello #BRB token gated community with 1 $PUSH on either ETH or Polygon',
}
);