Skip to content

chore: add multi example canister#48

Merged
lpahlavi merged 2 commits intomainfrom
lpahlavi/defi-2376-multi-canister
Nov 14, 2025
Merged

chore: add multi example canister#48
lpahlavi merged 2 commits intomainfrom
lpahlavi/defi-2376-multi-canister

Conversation

@lpahlavi
Copy link
Contributor

(DEFI-2376) Add example canister using the multi feature to request multiple UUIDs from httpbin.org in parallel.

@lpahlavi lpahlavi force-pushed the lpahlavi/defi-2376-multi-canister branch 4 times, most recently from 3ba67ae to 484521a Compare November 14, 2025 07:14
@lpahlavi lpahlavi force-pushed the lpahlavi/defi-2376-multi-canister branch from 484521a to 8bf4215 Compare November 14, 2025 07:25
@lpahlavi lpahlavi marked this pull request as ready for review November 14, 2025 07:28
@lpahlavi lpahlavi requested a review from a team as a code owner November 14, 2025 07:28
Copy link

@mducroux mducroux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this example @lpahlavi!

Copy link
Contributor

@gregorydemay gregorydemay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lpahlavi ! Let's maybe also reference the examples in the top-level README?

@lpahlavi lpahlavi merged commit faa47d0 into main Nov 14, 2025
9 checks passed
@lpahlavi lpahlavi deleted the lpahlavi/defi-2376-multi-canister branch November 14, 2025 08:44
This was referenced Nov 19, 2025
gregorydemay pushed a commit that referenced this pull request Nov 21, 2025
## 🤖 New release

* `canhttp`: 0.3.0 -> 0.4.0
* `ic-canister-runtime`: 0.1.0
* `ic-agent-canister-runtime`: 0.1.0
* `ic-pocket-canister-runtime`: 0.1.0

<details><summary><i><b>Changelog</b></i></summary><p>

## `canhttp`

<blockquote>

## [0.4.0] - 2025-11-21

### Added

- Add `JsonRpcHttpLayer` which combines the `HttpConversionLayer`,
`JsonConversionLayer` and `ConsistentJsonRpcIdFilter` middlewares into a
single convenient-to-use layer
([#46](#46))
- Add example canisters demonstrating JSON-RPC functionalities and
parallel calls ([#48](#48))

### Changed

- Bump `ic-cdk` to v0.19.0
([#40](#40))

### Fixed

- Missing optional dependency on `serde` for `multi` feature
([#47](#47))

[0.4.0]:
https://github.com/dfinity/canhttp/compare/canhttp-0.3.0..canhttp-0.4.0
</blockquote>

## `ic-canister-runtime`

<blockquote>

## [0.1.0] - 2025-11-21

### Added

- Add helper methods to `CyclesWalletRuntime`
([#44](#44))
- Add READMEs and examples
([#42](#42))
- Add `StubRuntime` ([#41](#41))
- Add `CyclesWalletRuntime`
([#37](#37))
- Add `Runtime` crate and `IcRuntime` implementation
([#35](#35))

[0.1.0]:
https://github.com/dfinity/canhttp/releases/tag/ic-canister-runtime-v0.1.0
</blockquote>

## `ic-agent-canister-runtime`

<blockquote>

## [0.1.0] - 2025-11-21

### Added

- Add `AgentRuntime` ([#36](#36))

[0.1.0]:
https://github.com/dfinity/canhttp/releases/tag/ic-agent-canister-runtime-v0.1.0
</blockquote>

## `ic-pocket-canister-runtime`

<blockquote>

## [0.1.0] - 2025-11-21

### Added

- Add `ExecuteHttpOutcallMocks` trait and support for PocketIC live mode
([#43](#43))
- Add READMEs and examples
([#42](#42))
- Add `PocketIcRuntime` and mock HTTP mock infrastructure
([#38](#38))

[0.1.0]:
https://github.com/dfinity/canhttp/releases/tag/ic-pocket-canister-runtime-v0.1.0
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Louis Pahlavi <louis.pahlavi@dfinity.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants