Hooks
Hooks are functions that help you easily read/write into Nillion network and interact with Nada Programs. Our examples/nextjs have all of these as components to better understand how to interact with them.
To best understand how Nillion functions, it provides two main focuses:
- Storage of values and retreiving them
- Blind computation powered by MPC with Nada Programs.
Permissions are added ontop of the network to allow/restrict who can interact with the storage and compute.
๐๏ธ Values
Storage and retreival of values are available via:
๐๏ธ Compute
Blind computation requires three elements:
๐๏ธ Permissions
Permissions allow the developer to adjust who is able to interact with the storage.
๐๏ธ Other
There are some auxiliary hooks that you may use: