Skip to main content

General

Can a dApp integrate with only one of the Arcana Network SDKs?

Yes. It depends on the application use case. If the dApp needs to build authentication using social OAuth, passwordless then it must integrate with Arcana Auth SDK. If the dApp use case also requires securing dApp user data and ensuring data privacy then in addition to the Auth SDK, the dApp must also integrate with Arcana Storage SDK. Besides user authentication, the Arcana Auth SDK also provides basic wallet feature. This feature allows blockchain transaction signing capability via standard Ethereum provider interface for Arcana Store file access storage operations. As of this beta release, Arcana wallet cannot be used to sign any transactions other than Arcana blockchain ones.

If the dApp requires data privacy and integrates with Arcana Storage SDK, it is not mandatory that it should also integrate with Arcana Auth SDK. The dApp can build its own user onboarding functionality and it can use a third party wallet to sign Arcana Store file access storage operations. For details see how to use a third party wallet with Storage SDK.

note

If your dApp integrates with Arcana Storage SDK and uses a third party wallet provider, you cannot control the wallet UI user experience unlike Arcana Auth SDK. The Auth SDK provides web2 like user experience whereby all Arcana Store file access operations are automatically signed. User is not compelled to sign and approve every operation by clicking on a pop up UI. You cannot have this feature enabled in your dApp when using a third party wallet.

How do I enable web2 social authentication experience in my dApp to onboard new users?

You can enable one or more social authentication mechanisms in your dApp by configuring Auth settings using the dashboard and integrating with Arcana Auth SDK. For details, see how to enable Google authentication Guide.

How do I enable passwordless login in my dApp to easily onboard new users?

You can enable passwordless login mechanism in your dApp by configuring Auth settings using the dashboard and integrating with Arcana Auth SDK. For details, see how to enable passwordless authentication Guide.

Can a dApp developer use Arcana Storage SDK with a HDWallet Provider or with a user provided private key?

The Arcana Storage SDK expects a standard EIP 1193 provider during initialization.

Arcana wallet, MetaMask and every other existing web wallet supports EIP 1193 provider. As long as you provide an EIP 1193 provider to the storage SDK, it should work.

For HD wallet usage, you will need a wrapper from HD wallet provider to EIP 1193 provider and then use it with the storage SDK.

caution

For security reasons, Arcana Storage SDK does not allow integration with dApp using private key approach.