Configuration¶
The widget is configured through component props and host-app environment variables.
Props¶
Prop |
Type |
Default |
Description |
|---|---|---|---|
|
|
env var |
Receiving wallet address. Falls back to |
|
|
|
Visual theme. |
Environment variables¶
Set these in the host app (inlined at build time as process.env.NEXT_PUBLIC_*):
Variable |
Required |
Description |
|---|---|---|
|
Yes |
Alchemy API key for Polygon mainnet. |
|
When |
Wallet address that receives tips. |
Network and token¶
These are fixed by the widget and not configurable:
Item |
Value |
|---|---|
Chain |
Polygon mainnet (chainId 137) |
Token |
JPYC (money-transfer-business type) |
QR scheme |