Skip to content

Commit

Permalink
Add categories and mark old dapps
Browse files Browse the repository at this point in the history
  • Loading branch information
liorbond committed Jan 26, 2024
1 parent 21819cc commit 57706e9
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 11 deletions.
20 changes: 15 additions & 5 deletions docs/devdocs/Examples and References/Examples-fheDapps.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,38 +10,48 @@ Here you can find a list of some of cool apps that you can use as a reference
<th width="222.33333333333331">App</th>
<th width="333">Repo</th>
<th>UI</th>
<th>Notes</th>
</tr>
</thead>
<tbody>
<tr>
<td>Encrypted ERC20</td>
<td>Fhevm Examples</td>
<td><a href="https://github.com/zama-ai/fhevm-solidity/tree/main/examples">https://github.com/zama-ai/fhevm-solidity/tree/main/examples</a></td>
<td><a href="https://dapps.zama.ai/">https://dapps.zama.ai/</a><br /><a href="http://fhenix-demo.pages.dev/">http://fhenix-demo.pages.dev/</a></td>
<td>This examples will need to be updated when using Fhenix's FHE.sol</td>
</tr>
<tr>
<td>Wrapped ERC20</td>
<td><a href="https://github.com/FhenixProtocol/werc20-example">https://github.com/FhenixProtocol/werc20-example</a><br /></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Blind Auction</td>
<td><a href="https://github.com/zama-ai/fhevm-solidity/tree/main/examples">https://github.com/zama-ai/fhevm-solidity/tree/main/examples</a></td>
<td><a href="https://dapps.zama.ai/">https://dapps.zama.ai/</a></td>
<td><a href="https://www.fhenix.io">TO BE ADDED</a></td>
<td><a href="https://www.fhenix.io">TO BE ADDED</a></td>
<td></td>
</tr>
<tr>
<td>NFT + 128 bit key</td>
<td><a href="https://github.com/FhenixProtocol/devnet-contracts">https://github.com/FhenixProtocol/devnet-contracts</a></td>
<td><a href="https://github.com/FhenixProtocol/devnet-contracts/blob/main/ERC721WithKey.sol">https://github.com/FhenixProtocol/devnet-contracts/blob/main/ERC721WithKey.sol</a></td>
<td></td>
<td>This examples will need to be updated when using Fhenix's FHE.sol</td>
</tr>
<tr>
<td>Private Voting</td>
<td><a href="https://github.com/FhenixProtocol/fhe-voting">https://github.com/FhenixProtocol/fhe-voting</a></td>
<td><a href="https://www.fhenix.io">TO BE ADDED</a></td>
<td></td>
</tr>
<tr>
<td>NFT Event Ticket</td>
<td><a href="https://github.com/FhenixProtocol/ticketing-contracts">https://github.com/FhenixProtocol/ticketing-contracts</a><a href="https://github.com/FhenixProtocol/ticket-verifier">https://github.com/FhenixProtocol/ticket-verifier</a></td>
<td><a href="https://ticket-manager.pages.dev/">https://ticket-manager.pages.dev/</a><a href="https://ticket-manager.pages.dev/?verifier=1">https://ticket-manager.pages.dev/?verifier=1</a></td>
<td>This examples will need to be updated when using Fhenix's FHE.sol</td>
<td>FHE.sol Operation Examples</td>
<td><a href="https://github.com/FhenixProtocol/fheos/tree/master/solidity/tests/contracts">https://github.com/FhenixProtocol/fheos/tree/master/solidity/tests/contracts</a></td>
<td><a href="https://github.com/FhenixProtocol/fheos/blob/master/solidity/tests/precompiles.test.ts">https://github.com/FhenixProtocol/fheos/blob/master/solidity/tests/precompiles.test.ts</a></td>
<td>The UI link is for a javascript interface that uses hardhat in order to interact with the contracts</td>
</tr>
</tbody>
</table>
Expand Down
11 changes: 11 additions & 0 deletions docs/devdocs/Tips/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"position": 2.5,
"label": "Tips",
"collapsible": true,
"collapsed": true,
"className": "red",
"link": {
"type": "generated-index",
"title": "Tips"
}
}
11 changes: 11 additions & 0 deletions docs/devdocs/Tools and Utilities/_caregory_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"position": 2.5,
"label": "Tools and Utilities",
"collapsible": true,
"collapsed": true,
"className": "red",
"link": {
"type": "generated-index",
"title": "Tools and Utilities"
}
}
15 changes: 9 additions & 6 deletions docs/devdocs/Writing Smart Contracts/FHE-sol.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,17 @@ To find a full list of functions and their descriptions, please refer to the [FH

To get started with FHE.sol, you need to install it as a dependency in your Solidity project. You can do this using npm (Node Package Manager) or Yarn. Open your terminal and navigate to your project's directory, then run the following:

```Javascript
import {FHE} from "@fhenixprotocol/contracts/FHE.sol";
```bash
npm install @fhenixprotocol/contracts;
```

## Usage
Or

### Calling a Contract with Encrypted Inputs
```bash
yarn install @fhenixprotocol/contracts;
```

### Operations Example
## Usage

### Decrypting Outputs
### Operations Example
For operation examples please refer to [FHE.sol operation testers](https://github.com/FhenixProtocol/fheos/tree/master/solidity/tests/contracts)

0 comments on commit 57706e9

Please sign in to comment.