fetchai / uAgents

A fast and lightweight framework for creating decentralized agents with ease.
Apache License 2.0
995 stars 241 forks source link

feat(core): add batch registration to Almanac API and Almanac Contract #571

Closed jrriehl closed 3 weeks ago

jrriehl commented 3 weeks ago

Proposed Changes

When running the Bureau, the Bureau will now use the Almanac API's batch registration endpoint by default to register all agents in a single request. Additionally, if a wallet is provided in the Bureau's init args, it will also send the Almanac contract registration transactions in a batch. By default, with no wallet address provided, the agents will register themselves as before, so this update should be fully backwards compatible.

Linked Issues

[if applicable, add links to issues resolved by this PR]

Types of changes

What type of change does this pull request make (put an x in the boxes that apply)?

Checklist

Put an x in the boxes that apply:

If applicable

jrriehl commented 3 weeks ago

All changes included in https://github.com/fetchai/uAgents/pull/551.