Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions fhe-library/introduction/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ Create a `.env` file with your private key and RPC URLs:
PRIVATE_KEY=your_private_key_here
SEPOLIA_RPC_URL=your_sepolia_rpc_url
ARBITRUM_SEPOLIA_RPC_URL=your_arbitrum_sepolia_rpc_url
BASE_SEPOLIA_RPC_URL=your_base_sepolia_rpc_url
```

<Warning>
Expand All @@ -200,6 +201,10 @@ pnpm eth-sepolia:deploy-counter
```bash Arbitrum Sepolia
pnpm arb-sepolia:deploy-counter
```

```bash Base Sepolia
pnpm base-sepolia:deploy-counter
```
</CodeGroup>
</Step>

Expand All @@ -214,6 +219,10 @@ pnpm eth-sepolia:increment-counter
```bash Arbitrum Sepolia
pnpm arb-sepolia:increment-counter
```

```bash Base Sepolia
pnpm base-sepolia:increment-counter
```
</CodeGroup>
</Step>
</Steps>
Expand Down Expand Up @@ -270,7 +279,7 @@ CoFHE supports multiple development environments:

- Public testnet for real FHE operations
- Requires ETH from the Sepolia faucet
- Available on Ethereum Sepolia and Arbitrum Sepolia
- Available on Ethereum Sepolia, Arbitrum Sepolia, and Base Sepolia

<Info>
Environment detection happens automatically in most cases. When testing on the Hardhat network with mocks deployed (e.g., in unit tests), `hre.cofhe.createClientWithBatteries` will detect the Hardhat network and configure the client for the mock environment. When using tasks that connect to networks like `arb-sepolia`, the environment will automatically be set to testnet mode. This environment setting is crucial as it determines how the SDK handles encryption and decryption operations.
Expand Down Expand Up @@ -323,7 +332,7 @@ Now that you have your development environment set up, you can:

- Explore the [FHE Library documentation](/fhe-library) to learn about encrypted data types and operations
- Review the [Counter contract example](https://github.com/FhenixProtocol/cofhe-hardhat-starter/blob/main/contracts/Counter.sol) to see FHE in action
- Check out the [Client SDK documentation](/client-sdk/introduction/overview) for client-side integration
- Check out the [Client SDK documentation](/cofhejs/introduction/overview) for client-side integration
- Learn about [access control mechanisms](/fhe-library) for managing encrypted data permissions

## Resources
Expand Down