Skip to content

feat: add faucet page and playground#167

Merged
onmax merged 2 commits intomainfrom
feat/faucet-page
Dec 9, 2025
Merged

feat: add faucet page and playground#167
onmax merged 2 commits intomainfrom
feat/faucet-page

Conversation

@onmax
Copy link
Copy Markdown
Member

@onmax onmax commented Nov 28, 2025

Adds faucet page with playground functionality

@netlify
Copy link
Copy Markdown

netlify bot commented Nov 28, 2025

Deploy Preview for developer-center ready!

Name Link
🔨 Latest commit 9e0ab33
🔍 Latest deploy log https://app.netlify.com/projects/developer-center/deploys/6937f95458c7760008363497
😎 Deploy Preview https://deploy-preview-167--developer-center.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ines-toupeira ines-toupeira self-requested a review December 9, 2025 10:03
Copy link
Copy Markdown
Member

@ines-toupeira ines-toupeira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Added some clarifications for clarity purposes and to avoid ambiguity


## API Reference

Developers can interact with the faucet programmatically via HTTP requests. This is particularly useful for automated testing pipelines.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't HTTPS?

| Parameter | Type | Required | Description |
| :--- | :--- | :--- | :--- |
| `address` | `string` | **Yes** | The recipient's Nimiq address in User-Friendly format (e.g., `NQ...`). |
| `amount` | `number` | No | The amount of NIM to request. Defaults to `10000`. <br>Max: `110000`. |
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't the max 10'000?


# Faucet

The Nimiq Faucet dispenses free NIM for development and testing.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The Nimiq Faucet dispenses free NIM for development and testing.
The Nimiq Faucet provides **testnet NIM only** and is intended for development and testing purposes.


## Interactive Playground

Use the interface below to instantly request funds to your address.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Use the interface below to instantly request funds to your address.
Paste a **testnet** Nimiq address in the interface below to request funds.

<header flex="~ items-baseline justify-between gap-8" z-1 f-px-xs py-8 rounded-2 bg-neutral-100 f-text-xs border="b-1 solid neutral-400">
<div class="nq-label" flex="~ items-center gap-8">
<div i-tabler:droplet text-12 op-70 />
<code f-text-2xs>Faucet</code>
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<code f-text-2xs>Faucet</code>
<code f-text-2xs>Faucet (Testnet)</code>

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Dec 9, 2025

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
developer-center-server 9e0ab33 Dec 09 2025, 10:26 AM

@onmax onmax merged commit 8a59e2f into main Dec 9, 2025
7 of 8 checks passed
@onmax onmax deleted the feat/faucet-page branch December 9, 2025 10:34
ines-toupeira pushed a commit that referenced this pull request Mar 24, 2026
* feat: add faucet page and playground

* fix: apply PR review feedback for testnet clarity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants