0.0.58 • Published 3 months ago

cryptum-sdk v0.0.58

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

Table of Contents

About The Project

This project provides a handy way to integrate your JavaScript code with Cryptum's backend through simple function calls that do all the heavy lifting for you.

The Cryptum infrastructure allows clients to integrate and interact with the most diverse blockchain protocols - you don't need to start from scratch! We already laid the foundation for you to build upon.

Don't worry about deploying and maintaining a node, our SDK connects directly with the nodes maintained by Cryptum. Learn more about Cryptum here.

The Cryptum SDK also integrates Chainlink functionality natively, empowering developers with secure and reliable decentralized oracle services. Read more about the Chainlink integration.

First Steps

📁Creation of Projects and 🔑 API Keys

This step is essential, when you start your Cryptum journey. You need to create your account and start a Project on our DASHBOARD. This Project will offer you an API Key, which will be used in all your Cryptum implementations.

Create your account on Cryptum Dashboard

Click on the "Create First Project" button to start creating your new Development Project and get an API Key!

Give your Project a Name (customer name, product or something that refers to what will be developed) and the Project Description. Finally, choose the Development Project Type and click "Next".

For Development projects, you must define which plan will be used. Also choose which blockchain environment you want to access: Free Testnet (only simulation on test networks) or Free Mainnet (Production, with real use of crypto values). Finally, your Project will have been created and you will receive a valid API Key. Then go to the project and start developing!

After you have created your Project, you will be able to use your API Key.

Read more Cryptum Dashboard.

Requirements

  • NPM
  • Node version: ^14.17.0

Installation

Open your project

cd my-amazing-project/

Install using npm manager or yarn

npm install -S cryptum-sdk

yarn add cryptum-sdk

How To's

Below is a short code example showing how you can use cryptum-sdk to connect your amazing application with several blockchains.

Configuration

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.

Example

To see the SDK implemented in a sample project, visit the cryptum-lottery project and see it in action

Contributing

Contributions are what make the open source community an incredible place to learn, inspire and create. Any contribution you make will be much appreciated.

  1. Fork the project
  2. Create a Branch for your feature (git checkout -b feature/amazing-feature)
  3. Insert your changes (git add .)
  4. Make a commit with your changes (git commit -m 'feat(<folder-name>): Inserting a Amazing Feature !)
  5. Push the branch (git push origin feature/amazing-feature)
  6. Open a Pull Request

What does my PR need to be accepted ?

In order for us to accept your PR, you need to adhere to the following standards.

  1. Create using the code pattern currently used in cryptum-sdk
  2. Test your update and show artifacts in PR.

That's it 🤷🏻‍♂️

License

Distributed under the MIT license. See LICENSE for more information.

Contact

Blockforce - SITE - HELLO@BLOCKFORCE.IN

0.0.57

3 months ago

0.0.58

3 months ago

0.0.51

10 months ago

0.0.53

8 months ago

0.0.55

5 months ago

0.0.50

11 months ago

0.0.49

12 months ago

0.0.48

1 year ago

0.0.43

1 year ago

0.0.44

1 year ago

0.0.45

1 year ago

0.0.46

1 year ago

0.0.47

1 year ago

0.0.40

1 year ago

0.0.41

1 year ago

0.0.42

1 year ago

0.0.39

2 years ago

0.0.38

2 years ago

0.0.37

2 years ago

0.0.30

2 years ago

0.0.31

2 years ago

0.0.32

2 years ago

0.0.33

2 years ago

0.0.34

2 years ago

0.0.35

2 years ago

0.0.36

2 years ago

0.0.28

2 years ago

0.0.29

2 years ago

0.0.27

2 years ago

0.0.23

2 years ago

0.0.24

2 years ago

0.0.25

2 years ago

0.0.26

2 years ago

0.0.21

2 years ago

0.0.22

2 years ago

0.0.20

2 years ago

0.0.17-alpha

2 years ago

0.0.16

2 years ago

0.0.17

2 years ago

0.0.18

2 years ago

0.0.19

2 years ago

0.0.15

3 years ago

0.0.12

3 years ago

0.0.13

3 years ago

0.0.14

3 years ago

0.0.10

3 years ago

0.0.11

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.0

3 years ago