polkadot-fellows / xcm-format

Polkadot Cross Consensus-system Message format.
Apache License 2.0
181 stars 43 forks source link

RFC: agent instructions #42

Open vstam1 opened 1 year ago

vstam1 commented 1 year ago

Summary

The RFC introduces the addition of agent instructions into XCM, specifically introducing three new instructions: SetAgent, RemoveAgent, and TransactAsAgent. These instructions empower a location to designate an agent to operate on its behalf, enabling the agent to dispatch calls on behalf of the origin. This is particularly beneficial for local accounts, which can act as agents for remote locations. This reduces the number of Transact instructions the remote location needs to send. An agent is also able to dispatch calls via XCM using the TransactAsAgent instruction.


Polkadot-Forum commented 1 year ago

This pull request has been mentioned on Polkadot Forum. There might be relevant details there:

https://forum.polkadot.network/t/xcm-rfc-agent-instructions/3819/1