# How to implement ICP convert cycles and top-up programmatically

**URL:** <https://forum.dfinity.org/t/how-to-implement-icp-convert-cycles-and-top-up-programmatically/43183>\
**Category:** Language Support\
**Tags:** Motoko\
**Created:** [March 31, 2025, 1:26am UTC](https://forum.dfinity.org/t/how-to-implement-icp-convert-cycles-and-top-up-programmatically/43183 "2025-03-31T01:26:43Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![icme](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/icme/32/4327_2.png) [@icme](https://forum.dfinity.org/u/icme)\
**Post date:** [April 1, 2025, 3:19am UTC](https://forum.dfinity.org/t/how-to-implement-icp-convert-cycles-and-top-up-programmatically/43183/6 "2025-04-01T03:19:50Z")

</div>

Hi @haida 👋

If you’re looking for a library that you can use from an agent, we built the icptopup-ts library that provides atomic topups of up to 100 canisters at a time.

> [@man\_technologist icptopup-ts: atomic, ICRC compatible batch cycles topups with TypeScript](https://forum.dfinity.org/t/icptopup-ts-atomic-icrc-compatible-batch-cycles-topups-with-typescript/41340):
>
> Today the CycleOps team eye is releasing [icptopup-ts](https://github.com/CycleOperators/icptopup-ts), a TypeScript package that makes it easy to programatically man_technologist facilitate large amounts of decentralized compute, sending cycles to up to 100 canisters at at time. With npm install icptopup-ts, you can integrate atomic, ICRC compatible cycle topups into your application in just a few minutes hourglass_flowing_sandHow can I use icptopup-ts?point_right &nbsp; Get started with the icptopup-ts [installation ins…](https://github.com/CycleOperators/icptopup-ts)

If you want automated, easily configurable cycle topups with email alerts, monitoring, and a full transaction history that’s what [CycleOps](https://forum.dfinity.org/t/meet-cycleops-proactive-automated-no-code-canister-management-for-the-internet-computer/20969) does 👁️‍🗨️

---

_[View the full topic](https://forum.dfinity.org/t/how-to-implement-icp-convert-cycles-and-top-up-programmatically/43183)._
