Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 0 additions & 4 deletions .env

This file was deleted.

7 changes: 7 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Public Monad RPC URL, replace with your own if you have a private RPC
NEXT_PUBLIC_RPC_URL="https://testnet-rpc.monad.xyz"
# Find your environment id at https://app.dynamic.xyz/dashboard/developer
NEXT_PUBLIC_DYNAMIC_ENVIRONMENT_ID="d32dce1b-2c12-4c0f-937c-9fcc2f4b2249"
# Wallet address for receiving donations
# It defaults to a wevm.eth multichain wallet for demonstration purposes.
DONATION_WALLET="0x123..."
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,7 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts

# env
.env
.env.local
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,20 @@ https://docs.dialect.to/blinks/blinks-provider/guides/tip-blink

## Environment Setup

In the `.env` file, we have preset a `DONATION_WALLET` address as well as the public RPC endpoint for the Monad testnet.
Create a `.env` file in the root directory with the following variables:

If you prefer to use your own wallet or RPC, please update the `.env` file accordingly.
```bash
# Monad RPC URL (testnet)
NEXT_PUBLIC_RPC_URL=https://rpc.testnet.monad.xyz

# Wallet address to receive donations
DONATION_WALLET=0xd2135CfB216b74109775236E36d4b433F1DF507B

# Dynamic.xyz environment ID
NEXT_PUBLIC_DYNAMIC_ENVIRONMENT_ID=your_environment_id_here
```

- `NEXT_PUBLIC_RPC_URL`: Monad RPC URL
- `DONATION_WALLET`: The wallet address to receive donations
**Note:** The `DONATION_WALLET` defaults to a wevm.eth multichain wallet for demonstration purposes. Update this to your own wallet address for production use.

## Getting Started

Expand Down
Loading