Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.54 KB

examples.md

File metadata and controls

28 lines (19 loc) · 1.54 KB

banner

Boson Protocol V2

Examples

To help sellers and integrators leverage the Boson Protocol in ways that push boundaries and enhance its in-built capabilities, we have made affordances in this repository for unit-tested examples.

NOTE: Examples are NOT part of the protocol or necessarily covered by an audit.

Examples are prototypes that anyone could use to solve a particular problem that could otherwise be difficult or even impossible with the protocol alone. The benefit of these simple examples being placed in this repo is that they can leverage our testing and deployment infrastructure and also be discussed in our developer documentation.

Components of any example can be found in one or more of these places:

  • contracts/example/<example name>/
  • scripts/example/<example name>/
  • test/example/
  • docs/example/

Snapshot Gate Example

This example answers the question: How can I token-gate a Boson Protocol Offer on one chain with a token that exists on another chain?

Example components