Xchain is a node package module (NPM) for implementing a blockchain-based securities exchange.