Check the blog: https://medium.com/p/be423d39380b
This example application shows how the Tierion network can be used to anchor accounting records to provide an immutable audit trail.
Read a detailed background on this project on the blog.
- Create Private App in Xero Developer Portal (Hint: create your private app against the Demo Company)
- Start ngrok
./ngrok http 3000
- Config Xero Webhooks (enter https ngrok endpoint)
- Create xero.json (credentials) file in XeroTierion Node App, see example
- Start the node application
node index.js
- Login to Xero and make a change to an invoice, or create a new invoice: Link to Xero
- Wait approximately 10 seconds for webhook event to fire & node app to process it
- Optional: Watch ngrok web console to see when webhook is processed
- Use menu to view a list of your invoices in Xero
- Click 'view history', to see the audit history of an invoice
- Xero API: https://developer.xero.com/
- Tierion: https://tierion.com/
- Chainpoint: https://chainpoint.org/
- Xero Node SDK: https://github.com/XeroAPI/xero-node
Explore the github repo: https://github.com/rjaus/XeroTierion
Read the full blog post on medium: https://medium.com/p/be423d39380b
- Twitter: https://twitter.com/RileyJamesAU
- Medium: https://medium.com/@riley.james
- Github: https://github.com/rjaus
- Linkedin: https://www.linkedin.com/in/rileyjames/