This package contains a number of different utility libraries that help with the following network and wallet based activities:
If you experience any issues with this library, the best way to address such situations is to submit a Pull Request to resolve the issue you are running into.
npm install turtlecoin-utils
import {
Address,
AddressPrefix,
Block,
BlockTemplate,
CryptoNote,
LevinPacket,
Transaction
} from 'turtlecoin-utils'
const coinUtils = new CryptoNote()
const TurtleCoinUtils = require('turtlecoin-utils')
const coinUtils = new TurtleCoinUtils.CryptoNote()
When packing for the browser with a tool like webpack we advise that you use the ready event
of the webpacked module to determine when the Cryptographic methods are available.
<script src="TurtleCoinUtils.js"></script>
<script>
TurtleCoinUtils.on('ready', () => {
const coinUtils = new TurtleCoinUtils.CryptoNote()
})
</script>
You can find the full documentation for this library here
Special thanks goes out to:
Generated using TypeDoc