Getting Started
CyberWallet SDK is a collection of tools that allow developers to integrate CyberWallet into their dapps. The SDK provides a simple and secure way to connect to CyberWallet and interact with the Cyber mainnet.
Preparation
Before starting, you need to go to the Cyber Developer Center to create a project and get your project ID.
Thrid-party Library Integration
CyberWallet SDK supports integration with the following libraries:
Singature Validation
When signing messages with CyberWallet, the signature format will be different depending on whether the account has been deployed.
If the account has not been deployed, the signature will be wrapped in ERC-6492 format, you'll need to validate the signature following the ERC-6492 standard. For deployed accounts, follow the ERC-1271 standard.
Packages and Supported Environments
Package | Description | Environment |
---|---|---|
@cyberlab/cyberwallet-sdk | The main package | Browser |
@cyberlab/wagmi | Wagmi integration | Browser |
@cyberlab/rainbowkit | RainbowKit integration | Browser |
Supported Networks
Network | Chain ID | Type |
---|---|---|
Cyber | 7560 | Mainnet |
Cyber Testnet | 111557560 | Testnet |
Mainnets are only available at passkey.cyber.co, and testnets are available at stg.passkey.cyber.co.