Multi-chain support

Status: in development

Chains

Our next goal is to add multi-chain support to the user profile toolkit. We plan to support a large number of different chains, including but not limited to Ethereum, Polygon, and Aurora. This improvement allows users to add NFTs from these chains to their profiles.

Authorization & indexing

Like in the NEAR-supported profile case, the user should authorize to add her NFTs from any of the supported chains. Authorization for the EVM-compatible chains is provided through MetaMask using Login.xyz JS SDK.

Additional TheGraph sub-graphs for each chain monitors chain updates and provides the list of NFTs owned by the user. The user also can choose NFTs from this list to share on her public page.

Storage

Key pairs for different chains are stored in GunDB, offline-first & distributed graph database with DID provided by the Ceramic Key DID library.

Social DB is used as an on-chain data storage for public profiles for the multi-chain case. Social DB usage requires the NEAR ID to create a new user profile. For user profiles without NEAR ID, we provide a smooth on-boarding process.

Last updated