Skip to content

BlockSpaces/mutinynet-faucet

This branch is 4 commits behind MutinyWallet/mutinynet-faucet:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

dc6445e · May 14, 2024

History

41 Commits
Mar 21, 2024
Apr 7, 2023
May 14, 2024
Jun 26, 2023
Apr 7, 2023
Jun 26, 2023
Apr 27, 2023
Aug 17, 2023
Aug 17, 2023
Apr 7, 2023
Apr 7, 2023
Apr 7, 2023
Jun 26, 2023

Repository files navigation

MutinyNet Faucet

Copy .env.sample to .env and make appropriate changes for connecting to Bitcoin Core

This isn't just a website, it's also a server, so you have to run it like a node thing:

pnpm install
pnpm build
pnpm start

If you need to change the port this serves on or anything like that check out the Vite docs: https://vitejs.dev/config/server-options.html

API

curl -X POST \
  http://localhost:3000/api/faucet \
  -H 'Content-Type: application/json' \
  -d '{"sats":10000,"address":"bcrt1..."}'
curl -X POST \
  http://localhost:3000/api/invoice \
  -H 'Content-Type: application/json' \
  -d '{"bolt11": "..."}'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 87.3%
  • JavaScript 7.6%
  • CSS 2.8%
  • Dockerfile 2.3%