Download Latest Version 0.5.3 source code.tar.gz (77.6 kB)
Email in envelope

Get an email when there's a new version of DNSChain

Home / 0.5.3
Name Modified Size InfoDownloads / Week
Parent folder
0.5.3 source code.tar.gz 2015-09-05 77.6 kB
0.5.3 source code.zip 2015-09-05 107.1 kB
README.md 2015-09-05 898 Bytes
Totals: 3 Items   185.5 kB 1

Changes in 0.5.3

  • New Features:
  • Optional CORS support from Michael Bumann (thanks!).
  • Improvements:
  • Bumped hiredis to 0.4.1 for latest iojs compat.

CORS Support (client-side JavaScript API access)

Although DNSChain isn't intended to be used from JavaScript within the web browser (unless it's via a browser extension), this releases makes that possible. Doing so allows client-side JavaScript to access blockchain data via the RESTful API, and "secured" (not really) by X.509 and HTTPS.

To enable this, add the following to your DNSChain config:

[http]

cors=true

Keep in mind that enabling this on a public web server means that anyone on the Internet can use it to access blockchain data. You may therefore want to test and adjust the request rate limiting settings as necessary.

Thanks to Michael Bumann for this addition!

Source: README.md, updated 2015-09-05