Skip to content

Instantly share code, notes, and snippets.

@gwn
gwn / claimFlow.js
Created August 24, 2021 16:27
ixo claim flow
// This is supposed to do what the demo script of the apimodule does, but for the new client SDK
// Ref: https://github.com/ixofoundation/ixo-apimodule/blob/master/test/demo.ts
const
readline = require('readline'),
{inspect} = require('util'),
{makeWallet, makeClient} = require('@ixo/client-sdk'),
makeDummyProj = require('./makeDummyProj')
@gwn
gwn / formatXML.js
Last active November 27, 2016 16:13 — forked from sente/formatXML.js
javascript to format/pretty-print XML
/* The MIT License (MIT)
Copyright (c) 2016 Stuart Powers
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions: