Skip to main content
Try Cobo WaaS Skill in your AI coding assistant (Claude Code, Cursor, etc.). Describe your needs in natural language to auto-generate production-ready SDK code and debug faster ๐Ÿš€
This article is targeted at WaaS 1.0 users who are considering upgrading to WaaS 2.0. It introduces the benefits of the upgrade and provides step-by-step instructions to successfully complete the upgrade process.

Key enhancements in WaaS 2.0

WaaS 2.0 is a major upgrade from WaaS 1.0, designed to support diverse Web3 scenarios such as payments, tokenization, and automated fund management. It enables enterprises and developers to build Web3 applications more efficiently and cost-effectively. The three core benefits of upgrading to WaaS 2.0 are:
  • Enhanced capabilities: Introduces new modules including Payment Solutions, Tokenization, Fee Station, Auto-sweep, Travel Rule, and more.
  • More efficient development: A unified API architecture reduces the number of API calls required to accomplish the same functionality, lowering integration and maintenance complexity.
  • Improved operations: Upgraded webhook functionality supports more event types and provides built-in tools such as logs, retries, and simulated testing, enhancing observability and debugging efficiency.
For a complete introduction to WaaS 2.0, see Introduction to WaaS 2.0. The following table summarizes the key enhancements introduced in WaaS 2.0 compared with WaaS 1.0:

Technical changes and migration reference

This section is intended for developers. It explains the key technical changes between WaaS 1.0 and WaaS 2.0 in areas such as API design, authentication, and callback mechanisms, and provides a comparison table of common API operations to help you migrate quickly.

Technical changes

The following table summarizes the key technical changes between WaaS 1.0 and WaaS 2.0, including API design, authentication, and callback mechanisms.

API operation comparison

The following table lists the API operations needed for common wallet operations in WaaS 1.0 and 2.0 respectively. You can refer to this table when migrating your code from 1.0 to 2.0.
WaaS 2.0 list endpoints, such as List all transactions, return results in pages. By default each page returns 10 records, and the maximum page size is 50, set with the limit parameter. This differs from WaaS 1.0, where a single response could return all results. A single WaaS 2.0 page therefore omits later results. To retrieve every record, iterate through all pages using the cursor parameters before and after.

Upgrade to 2.0

This section introduces the detailed steps to upgrade from WaaS 1.0 to 2.0.

Prerequisites

Reach out to our support team at help@cobo.com to migrate from Cobo Custody to Cobo Portal.

Get started with WaaS 2.0

Follow the instructions in Send your first request to set up your account, create and register your API key, integrate a WaaS SDK if necessary, and send your first API request to the WaaS 2.0 service.

Rewrite your code

Once you complete the initial setup, it is time to rewrite your code by replacing the 1.0 API operations with 2.0 operations. Refer to API operation comparison for a detailed comparison between 1.0 and 2.0 API operations. You can also refer to Get started with Custodial Wallets (Asset Wallets) for a step-by-step guide on how to create a Custodial Wallet (Asset Wallet), generate wallet addresses, and receive and withdraw tokens. Guides for other wallet types will be available in the future.

Set up webhook and callback endpoints

Set up the webhook and callback endpoints and register them in Cobo Portal. To understand webhook events, callback messages, and the differences in webhook/callback mechanisms between WaaS 1.0 and WaaS 2.0, refer to Introduction to webhooks and callbacks. To learn the detailed steps of the setup, see Set up a callback or webhook endpoint. To register the endpoint, see Register a webhook endpoint and Register a callback endpoint.
The endpoints you set up for WaaS 1.0 will not receive any messages from the WaaS 2.0 service.