> For the complete documentation index, see [llms.txt](https://jamonbread-io.gitbook.io/jamonbread/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jamonbread-io.gitbook.io/jamonbread/marketplace/smart-contract/examples.md).

# Examples

Real scenarios of how the JamOnBread smart contract works

### Example 1 - without [Affiliate Agents](/jamonbread/marketplace/on-chain-affiliate-program.md)

An NFT is listed on JamOnBread.io platform. Marketplace 2 displays this NFT on their platform. User buys this NFT from Plutus.art. Rewards are distributed as follows:

* **1.25% of total asset's price goes to Marketplace 2** (Sale reward)
* **1% of total asset's price goes to JamOnBread.io** (Listing reward)
* **0.25%** **of total asset's price goes to** **JamOnBread.io** (Treasury reward)

### Example 2 - with [Affiliate Agents](/jamonbread/marketplace/on-chain-affiliate-program.md)

JamOnBread.io user (**Charles**) brought a new user to the space and had them list an NFT via their **list affiliate link**. Now an NFT is listed on JamOnBread.io platform and all other marketplaces can display this listing on their platform.&#x20;

Another JamOnBread.io user (**Tommy**) posts his **sale affiliate link** with this NFT under his post on Twitter and one of his friends buys this NFT via this link.

* **0.5% of total asset's price goes to Charles** for finding a new listing via his affiliate link
* **0.5% of total asset's price goes to Tommy** for finding a buyer of this asset via his affiliate link
* **1.25% of total asset's price goes to JamOnBread.io** for having the NFT listed on and also sold via this smart contract
* **0.25%** **of total asset's price goes to** **JamOnBread.io** as a treasury reward.

Within JamOnBread's Smart Contract, there is potential for many different combinations to list and sell NFTs.&#x20;

While specific scenarios may vary, the principle remains unchanged: all participants in the market are fairly rewarded for their efforts.
