|
1 year ago | |
---|---|---|
dist | 1 year ago | |
docs | 1 year ago | |
src | 1 year ago | |
test | 1 year ago | |
.gitignore | 1 year ago | |
CONTRIBUTING.md | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
build.sh | 1 year ago | |
package-lock.json | 1 year ago | |
package.json | 1 year ago | |
tsconfig.json | 1 year ago | |
typedoc.json | 1 year ago | |
webpack.config.js | 1 year ago |
Adapted from the library turtlecoin-utils
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.
import {
Address,
AddressPrefix,
Block,
BlockTemplate,
CryptoNote,
LevinPacket,
Transaction
} from 'fedoragold-utils'
const coinUtils = new CryptoNote()
const FedoragoldUtils = require('fedoragold-utils')
const coinUtils = new FedoragoldUtils.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="FedoragoldUtils.js"></script>
<script>
FedoragoldUtils.on('ready', () => {
const coinUtils = new FedoragoldUtils.CryptoNote()
})
</script>
You can find the full documentation for this library here
Special thanks goes out to: