Overview
Estimated time to read: 2 minutes
Arcana offers client-side SDKs for Web3 apps:
- Auth SDK: Onboard Web3 app users via social login and enable gasless transactions through the in-app, embedded, non-custodial Arcana wallet.
- Gasless SDK: Extends the gasless transaction feature to third-party browser-based wallets.
Get Started
flowchart LR
subgraph Register [1.Register App]
direction LR
A0(((Step 1))) --> B0([Dashboard])
B0 --> C0[Register App] --> E0[Client ID]
C0 -- Configure App --> D0[SDK Settings]
end
classDef an-pink stroke:#ff4e9f,stroke-width:0.25rem;
class E0 an-pink
flowchart LR
subgraph Integrate [2.Integrate SDK with App]
direction LR
A00(((Step 2))) --> F00[Install SDK]
F00 -- Integrate App --> G00[Initialize SDK]
E00[ClientID] --> G00
G00 --> H00(Call SDK Fns)
end
classDef an-pink stroke:#ff4e9f,stroke-width:0.25rem;
class E00 an-pink
Usage
flowchart LR
subgraph Step1 [Arcana Auth SDK Usage]
direction LR
A1(((Start))) -- 1.Register App --> B1(Dashboard Login)
B1 --> C1[Get Client ID] --> E1
A1 -- 2.Integrate App --> D1[Install Auth SDK] --> E1[Initialize <code>AuthProvider</code>] --> F1[Social Login Fns]
E1 --> G1[Web3 Wallet Ops]
E1 --> H1[Whitelisted Gasless Txn]
end
classDef an-pink stroke:#ff4e9f,stroke-width:0.25rem;
class C1 an-pink
Key Features
- Onboard users quickly, at scale, via popular social login providers.
- Provide instant access to use the in-app, non-custodial Arcana wallet. * Enable zero gas fees via the built-in gasless feature through the Arcana wallet.
- Easy to customize and integrate with various Web3 app types.
flowchart LR
subgraph Step1 [Arcana Auth SDK Usage]
direction LR
A1(((Start))) -- 1.Register App --> B1(Dashboard Login)
B1 --> C1[Get Client ID] --> E1
A1 -- 2.Integrate App --> D1[Install Gasless SDK] --> E1[Initialize <code>SCW</code>] --> F1[Gasless Txn]
E1 --> G1[Get Accounts]
end
classDef an-pink stroke:#ff4e9f,stroke-width:0.25rem;
class C1 an-pink
Key Features
- Enable zero gas fees feature to third-party browser-based wallets.
- Standalone SDK, does not require Arcana Auth SDK
Current Version
Use v0.0.45. Older version may encounter breaking changes and updates to the integration code, app reconfiguration. See migration guides to learn more.
See Also
Last update:
November 14, 2024 by