Загрузка...

Cycle Swap & Wallet Integration: Enhancements & ICP-to-Cycles Conversion

In this live coding session, we refined the Cycle Swap feature by improving wallet integration.

Specifically, we:

- Encoded a base64 string subaccount to a Uint8Array to create an ICRC account object.
- Fetched and displayed the balance of the connected account from the ICP ledger.
- Improved the overall implementation for a smoother experience (with few UI/UX leftovers).
- Fetched the ICP-to-cycles ratio.

In the next session, we will finalize the ICP-to-cycles conversion and initialize the API endpoint required for the swap using a serverless function.

Видео Cycle Swap & Wallet Integration: Enhancements & ICP-to-Cycles Conversion канала Juno
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять