Integrate MultiversX App
Estimated time to read: 2 minutes
Integrate 'MultiversX' apps with Arcana Auth SDK and onboard users via social login. Enable users to sign blockchain transactions with the in-app Arcana wallet.
Prerequisites
- Register the 'MultiversX' app and configure SDK usage settings for social login providers, manage app manage app chains and wallet user experience.
Non-EVM Chains
When registering an app through Arcana Developer Dashboard, the choice of chain type (EVM, Solana, MultiversX, Near) is final. App developers can't change it later. They can switch the default chain within the same type. For example, a Solana app on Testnet can switch to Solana Mainnet or Solana Dev but not to MultiversX or an EVM chain.
MultiversX Shard Selection
MultiversX uses adaptive state sharding for horizontal scaling. Shards allow it to process far more transactions through parallelization, improving transaction throughput and efficiency.
Choose your shard once when registering a MultiversX app on the Arcana Developer Dashboard. It cannot be changed later.
By default, Arcana uses 'Shard 0' to deploy all app contracts and allocate wallet addresses for users. The benefit is that when addresses from the same shard interact with contracts on the same shard, latencies are much lower than in cross-shard interactions.
1. Install
Depending upon the app type, you may need to install one or more SDKs and the integration code may vary from one app type to another.
2. Integrate App
Select your 'MultiversX' app type and follow the integration instructions.
What's Next?
Add code to onboard users. Use AuthProvider
, the standard EIP-1193 Web3 provider to call support JSON/RPC functions and Web3 wallet operations. Learn more...
See also
'MultiversX' integration example: See sample-auth-multiversx
submodule in Auth Examples