- Table of Contents
- About The Project
- First Steps
- Requirements
- Installation
- How To's
- Configuration
- Blockchain queries
- Wallets
- Tokens (ERC20)
- NFTs
- Smart contracts
- Prices
- Swap tokens
- Webhooks
- Staking
- Contributing
- License
- Contact
This project provides a handy way to integrage your JavaScript code with Cryptum's backend through simple function calls that do all the heavy lifting for you. Learn more about Cryptum here.
- NPM
- Node version: ^14.17.0
Open your project
cd my-amazing-project/
Install using npm manager or yarn
npm install -S cryptum-sdk
yarn add cryptum-sdk
Below is a short code example showing how you can use cryptum-sdk to connect your amazing application with several blockchains.
To configure cryptum-sdk you need only to provide a config in format JSON.
const CryptumSDK = require('cryptum-sdk')
const sdk = new CryptumSDK({
enviroment: 'development', // 'testnet' or 'development', 'mainnet' or 'production'
apiKey: 'my-secret-api-key',
})
For more in-depth examples check the docs/ folder and our guides here.
Contributions are what make the open source community an incredible place to learn, inspire and create. Any contribution you make will be much appreciated.
- Fork the project
- Create a Branch for your feature (
git checkout -b feature/amazing-feature
) - Insert your changes (
git add .
) - Make a commit with your changes (
git commit -m 'feat(<folder-name>): Inserting a Amazing Feature !
) - Push the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
In order for us to accept your PR, you need to adhere to the following standards.
- Create using the code pattern currently used in cryptum-sdk
- Test your update and show artifacts in PR.
That's it 🤷🏻♂️
Distributed under the MIT license. See LICENSE
for more information.
Blockforce - SITE - [email protected]