Skip to content

Commit

Permalink
fix: add examples
Browse files Browse the repository at this point in the history
  • Loading branch information
rube-de committed Jan 3, 2025
1 parent 81d3c4b commit eaebae6
Showing 1 changed file with 38 additions and 5 deletions.
43 changes: 38 additions & 5 deletions docs/examples.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,49 @@ description: Examples build with Sapphire

## Randomness

(link to repo with an randomness dapp)
:::info Example Oasis Swag Wheel

## Gasless Voting
[Example dapp][rng-example] which uses onchain RNG to determine which Swag a participant wins.

(link to gasless voting dapp)
:::

## Confidential Voting

:::info Example VoTEE

[Voting example][voting-example] to vote for the favorite Oasis mascot, see also [voTEE.oasis.io].

:::

:::info Example Blockvote

[Example][voting-example] for general confidential and gasless voting, see also [vote.oasis.io].

:::

## SIWE

(link to siwe demo dapp)
:::info Example SIWE

Sign in with Ethereum (SIWE) [example dapp][siwe-example].

:::

## Onchain signing

(link to onchain signer dapp)
:::info Example Onchain signing

Onchain transaction generation and signing [example][onchain-signer].

:::

Find more examples on [playground.oasis.io].

[rng-example]: https://github.com/oasisprotocol/demo-oasisswag
[voting-example]: https://github.com/oasisprotocol/dapp-blockvote
[vote.oasis.io]: https://vote.oasis.io
[votee-example]: https://github.com/oasisprotocol/dapp-votee
[voTEE.oasis.io]: https://votee.oasis.io
[siwe-example]: https://github.com/oasisprotocol/demo-starter/tree/matevz/sapphire-paratime-2.0
[onchain-signer]: https://github.com/oasisprotocol/sapphire-paratime/tree/main/examples/onchain-signer
[playground.oasis.io]: https://playground.oasis.io

0 comments on commit eaebae6

Please sign in to comment.