Skip to main content

Быстрый Доступ

Примеры Magic Actions

Изучите эталонную реализацию на GitHub

1) Create action instruction

The instruction update_leaderboard runs on the base layer immediately after commit.

2) Build the commit instruction with the action

The commit instruction commit_and_update_leaderboard runs on the ER and schedules the commit with action.

Execute multiple actions

You can commit multiple accounts and chain several actions. Actions execute sequentially.

Other actions

Actions can be executed with undelegation and without any commits.