extends layout

block headContent
	title About

block content
	h1(class="h2") About
	hr

	p This tool is intended to be a simple, self-hosted explorer for the #{coinConfig.name} blockchain, driven by RPC calls to your own node. This tool is easy to run but lacks some features compared to database-backed explorers.

	p I built this tool because I wanted to use it myself. Whatever reasons one might have for running a full node (trustlessness, technical curiosity, supporting the network, etc) it's helpful to appreciate the "fullness" of your own node. With this explorer, you can not only explore the blockchain (in the traditional sense of the term "explorer"), but also explore the functional capabilities of your own node.

	span Pull requests are welcome! 
		a(href="https://github.com/janoside/btc-rpc-explorer") github.com/janoside/btc-rpc-explorer

	if (env.donationAddresses)
		hr

		p If you value this tool and want to support my work on this project, please consider a small donation. Anything is appreciated!

		div(class="row mb-5")
			each coin, index in env.donationAddresses.coins
				div(class="col text-center")
					if (env.donationAddresses[coin].urlPrefix)
						a(href=("bitcoin:" + env.donationAddresses["BTC"])) #{coinConfigs[coin].name} (#{coin})
					else
						span #{coinConfigs[coin].name} (#{coin})

					br
					span #{env.donationAddresses[coin].address}
					br
					img(src=donationAddressQrCodeUrls[coin], alt=env.donationAddresses[coin].address, style="border: solid 1px #ccc;")
					br