Intro | Audits | Setup | Tasks | Architecture | Domain Model | State Machines | Sequences
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/
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?