diff --git a/basics/cross-program-invocation/steel/README.md b/basics/cross-program-invocation/steel/README.md new file mode 100644 index 000000000..56465a6e4 --- /dev/null +++ b/basics/cross-program-invocation/steel/README.md @@ -0,0 +1,6 @@ +## Cross Program Invocation steel example + +### Programs + +- [Hand](./hand/README.md) +- [Lever](./lever/README.md) diff --git a/basics/cross-program-invocation/steel/hand/README.md b/basics/cross-program-invocation/steel/hand/README.md index 4394900c7..6ef2fade1 100644 --- a/basics/cross-program-invocation/steel/hand/README.md +++ b/basics/cross-program-invocation/steel/hand/README.md @@ -1,19 +1,12 @@ # Hand **Hand** is a ... - + ## API -- [`Consts`](api/src/consts.rs) – Program constants. -- [`Error`](api/src/error.rs) – Custom program errors. -- [`Event`](api/src/event.rs) – Custom program events. - [`Instruction`](api/src/instruction.rs) – Declared instructions. ## Instructions -- [`Add`](program/src/add.rs) – Add ... -- [`Initialize`](program/src/initialize.rs) – Initialize ... - -## State -- [`Counter`](api/src/state/counter.rs) – Counter ... +- [`PullLever`](program/src/pull_lever.rs) – Pull Lever ... ## Get started diff --git a/basics/cross-program-invocation/steel/lever/README.md b/basics/cross-program-invocation/steel/lever/README.md index 8c44577bd..4b01b5852 100644 --- a/basics/cross-program-invocation/steel/lever/README.md +++ b/basics/cross-program-invocation/steel/lever/README.md @@ -1,7 +1,7 @@ # Lever **Lever** is a ... - + ## API - [`Consts`](api/src/consts.rs) – Program constants. - [`Error`](api/src/error.rs) – Custom program errors. @@ -9,11 +9,11 @@ - [`Instruction`](api/src/instruction.rs) – Declared instructions. ## Instructions -- [`Add`](program/src/add.rs) – Add ... +- [`SwitchPower`](program/src/switch_power.rs) – Switch Power ... - [`Initialize`](program/src/initialize.rs) – Initialize ... ## State -- [`Counter`](api/src/state/counter.rs) – Counter ... +- [`PowerStatus`](api/src/state/power_status.rs) – Power status ... ## Get started