Skip to content

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

PackageDescriptionEnvironment
@cyberlab/cyberwallet-sdkThe main packageBrowser
@cyberlab/wagmiWagmi integrationBrowser
@cyberlab/rainbowkitRainbowKit integrationBrowser

Supported Networks

NetworkChain IDType
Cyber7560Mainnet
Cyber Testnet111557560Testnet

Mainnets are only available at passkey.cyber.co, and testnets are available at stg.passkey.cyber.co.