Support resource machine client library in the nock backend #3084
Labels
anoma
backend:nockma
enhancement
New feature or request
october-testnet
Issues required to support the Anoma October 2024 testnet
pending-review
Requirement
The Anoma client provides a library in the client proving context which includes functions to:
This will be provided in the environment slot of a transaction function when it is applied.
Say the transaction function is some nock code
[code args env]
then when it is applied then theargs
slot is replaced by the application arguments and theenv
slot is replaced by the nock code of the resource machine standard library.The hoon version of the incomplete library is available: https://github.com/anoma/anoma/blob/39c84b01f6af6c0167c67fe6eabc7450464ac5e4/hoon/resource-machine.hoon
We require that the functions defined in this client library are made available to application function authors in frontend Juvix syntax (via builtins).
Implementation
We should use a similar strategy that we use for Anoma Nock standard library calls:
Specifically we need to:
callStdlib
works now.The text was updated successfully, but these errors were encountered: