Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 1 addition & 37 deletions .llms-snapshots/llms-full.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5784,24 +5784,7 @@ juno functions buildjuno functions upgrade
## Notes

* This example focuses on the Rust serverless function and canister call integration. The frontend is intentionally minimal and included only for demonstration.
* Use this project as a starting point for workflows that require on-chain asset transfers or canister calls in response to user actions.

## Real-World Example

Want to see how assertions and serverless logic are used in a live project?

Check out [proposals.network](https://proposals.network), an open-source app built with Juno:

* GitHub: [github.com/peterpeterparker/proposals.network](https://github.com/peterpeterparker/proposals.network)
* Example logic: [src/satellite/src/lib.rs](https://github.com/peterpeterparker/proposals.network/blob/main/src/satellite/src/lib.rs)

This app uses:

* `#[on_delete_doc]` and `#[assert_delete_doc]` to validate and clean up related documents and assets
* Shared helper modules like `assert`, `delete`, and `types` to keep logic organized
* A real-world pattern of chaining asset/document deletions with assertions

It’s a great reference for more advanced setups and multi-collection coordination.
* Use this project as a starting point for workflows that require token transfers or canister calls in response to user actions.

---

Expand Down Expand Up @@ -6125,25 +6108,6 @@ juno functions buildjuno functions upgrade

---

## Real-World Example

Want to see how assertions and serverless logic are used in a live project?

Check out [proposals.network](https://proposals.network), an open-source app built with Juno:

* GitHub: [github.com/peterpeterparker/proposals.network](https://github.com/peterpeterparker/proposals.network)
* Example logic: [src/satellite/src/lib.rs](https://github.com/peterpeterparker/proposals.network/blob/main/src/satellite/src/lib.rs)

This app uses:

* `#[on_delete_doc]` and `#[assert_delete_doc]` to validate and clean up related documents and assets
* Shared helper modules like `assert`, `delete`, and `types` to keep logic organized
* A real-world pattern of chaining asset/document deletions with assertions

It’s a great reference for more advanced setups and multi-collection coordination.

---

## References

* [Serverless Functions Guide](/docs/guides/rust.md)
Expand Down
6 changes: 1 addition & 5 deletions docs/examples/functions/rust/canister-calls.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -244,11 +244,7 @@ import ProdDeploy from "../components/prod-deploy.md";
## Notes

- This example focuses on the Rust serverless function and canister call integration. The frontend is intentionally minimal and included only for demonstration.
- Use this project as a starting point for workflows that require on-chain asset transfers or canister calls in response to user actions.

import ProposalsNetwork from "./components/proposals-network.md";

<ProposalsNetwork />
- Use this project as a starting point for workflows that require token transfers or canister calls in response to user actions.

---

Expand Down
6 changes: 0 additions & 6 deletions docs/examples/functions/rust/mutating-docs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,6 @@ import ProdDeploy from "../components/prod-deploy.md";

---

import ProposalsNetwork from "./components/proposals-network.md";

<ProposalsNetwork />

---

import References from "./components/references.md";

<References />