0.0.1 • Published 2 years ago

@trrxitte/traaittcash-utils v0.0.1

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
2 years ago

image

traaittCASH Javascript Utilities

NPM

Prerequisite Documentation Maintenance License: GPL-3.0 Twitter: TRRXITTE

Master Build Status

Build Status

Development Build Status

Build Status

This package contains code that wraps traaittcash-crypto primitives into an easier to use interface. This includes the ability to easily discover funds for a wallet, create transactions, sign transactions (ring signatures), create new wallets, verify addresses, and handful of other useful methods. These methods can then be wrapped into a Javascript-based wallet such as traaittcash-wallet-backend-js.

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.

Installation

npm install @trrxitte/traaittcash-utils

Initialization

JavaScript

const traaittCASHUtils = require('@trrxitte/traaittcash-utils').CryptoNote
const coinUtils = new traaittCASHUtils()

TypeScript

import { CryptoNote } from '@trrxitte/traaittcash-utils'
const coinUtils = new CryptoNote()

You can find TypeScript type definitions here

Browser Support

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="traaittCASHUtils.js"></script>
<script>
  traaittCASHUtils.on('ready', () => {
    const coinUtils = new traaittCASHUtils.CryptoNote()
  })
</script>

Documentation

You can find the full documentation for this library here

Credits

TRRXITTE Int., incorporate

Special thanks goes out to: