- Securing Your Apps With DNSChain
- Contributing to DNSChain development
- Adding support for your favorite blockchain
- Running Tests
Developers of secure communications applications looking to improve the usability and security of their apps should familiarizing themselves with the following documentation:
Developer-friendly libraries in various languages for interacting with DNSChain in a MITM-proof manner are coming:
- DNSChain for Python
- Your favorite language here!
Make sure you did everything in the requirements and then play with these commands from your clone of the DNSChain repository:
sudo grunt example
(runs on privileged ports by default)grunt example
(runs on non-privileged ports by default)
Grunt will automatically lint your code to the style used in this project, and when files are saved it will automatically re-load and restart the server (as long as you're editing code under src/lib
).
When forking DNSChain: work on feature branches, not master
, then submit a PR.
- Copy the file
src/lib/blockchain.coffee
and place it insrc/lib/blockchains
. - Rename it after your blockchain (no spaces).
- Edit it by following the advice offered by the comments. Look at how the other files in the
blockchains
folder have done it.
That's it! Send us a pull request and we'll be happy to include support for your favorite blockchain. :)
From within the DNSChain repo, make sure you've run npm install
, and then:
npm test