You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## A Barebones Program: [`template-barebones`](./examples/barebones/src/lib.rs)
24
24
25
25
An example of a barebones program is at [`examples/barebones/src/lib.rs`](./examples/barebones/src/lib.rs). This example does a simple check on the length of the message to be signed.
This builds the program as a Wasm component at `target/wasm32-unknown-unknown/release/template_barebones.wasm`.
34
34
35
+
## Example Custody Program with Config: [`example-basic-transaction`](./examples/basic-transaction/src/lib.rs)
36
+
37
+
This example validates that an an EVM transaction request recipient exists on a list of allowlisted addresses. It also uses a configuration, which allows the user to modify the allowlisted addresses without having to recompile the program (i.e. update the allowlist from the browser).
0 commit comments