Feature discussion: Replica-signed queries

:rocket: Replica-Signed Queries Have Arrived! :rocket:

Hello everyone! The replica-signed queries feature is now live! :tada:

We just released agent-js 0.20.1 and agent-rs 0.30.2 which supports fetching node public keys and verifying signatures of query responses.

On the IC mainnet, the replica has already begun producing signatures on query responses.

  • Plus, there’s an update on response hashing, aligning with the clarification on hashing nested maps from the interface specification.

For the Developers:

  • If you’re crafting agents in other languages, you may test the implementation directly against the IC mainnet.
  • Developing dApps? dfx defaults to the @latest version of agent-js for new projects. For existing dApps, you can also upgrade them to agent-js 0.20.1 or newer to enable the feature.
  • For local development using dfx, you’ll need dfx 0.15.2 or newer, which will bundle the new version of agent-rs and replica. We expect to release dfx 0.15.2 soon. For now, the beta version is available by running
DFX_VERSION=0.15.2-beta.2 sh -ci "$(curl -fsSL https://internetcomputer.org/install.sh)"

A huge shoutout to everyone who contributed to this feature release. :star2:

Let us know how you find the new feature. Thank you.

5 Likes