9.1.0 • Published 8 months ago

@mintblue/sdk v9.1.0

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
8 months ago

mintBlue

mintBlue is here to make your life easy. Want to use blockchain features but don't have the time or expertise to build a blockchain product from scratch? No problem!

This SDK allows you to easily integrate the mintBlue API. It also contains the tools needed to do cryptographic operations, using your non-custodial keys, allowing you to effectively and securely own your own data. Hassle-free and easy to use!

Full API and SDK documentation at docs.mintblue.com

API Reference

https://mintblue.gitlab.io/sdk/

Features

  • Create blockchain transactions
  • Encrypt and digitally sign payloads locally
  • Fetch transactions from the blockchain and decrypt payloads locally
  • Organise your transactions into projects
  • Create EventListeners to collect transactions into projects
  • Stream your project to your local machine
  • Create State Machines from blockchain transactions (see example)

Getting started

  1. Create an account at https://console.mintblue.com

  2. Create a project and copy the project ID

  3. Create an SDK token and copy the SDK token

  4. npm install @mintblue/sdk

  5. Publish your first transaction via the SDK

import { Mintblue } from '@mintblue/sdk';

(async () => {
  const token = 'YOUR SDK TOKEN';
  const project_id = 'YOUR PROJECT ID';

  const client = await Mintblue.create({ token: token });

  const outputs = [
    {
      type: 'data',
      value: 'Hello world',
      sign: true,
      encrypt: true,
    },
  ];

  const { txid, rawtx } = await client.createTransaction({ project_id, outputs });

  console.log(txid);
})();
9.1.0

8 months ago

9.0.2

9 months ago

8.1.0

1 year ago

8.2.0

1 year ago

9.0.1

10 months ago

9.0.0

10 months ago

8.0.1

1 year ago

8.0.0

1 year ago

7.0.0

1 year ago

6.0.1

1 year ago

6.0.0

1 year ago

5.2.5

2 years ago

5.2.4

2 years ago

5.1.0

2 years ago

3.0.6

2 years ago

4.4.1

2 years ago

4.4.0

2 years ago

4.4.3

2 years ago

4.4.2

2 years ago

4.0.1

2 years ago

4.0.0

2 years ago

4.2.1

2 years ago

4.2.0

2 years ago

5.2.3

2 years ago

5.2.2

2 years ago

5.2.1

2 years ago

5.2.0

2 years ago

5.0.2

2 years ago

5.0.1

2 years ago

5.0.0

2 years ago

4.4.5

2 years ago

4.4.4

2 years ago

1.5.0

2 years ago

4.4.6

2 years ago

4.1.0

2 years ago

4.3.0

2 years ago

1.4.0

2 years ago

2.0.0

2 years ago

3.0.4

2 years ago

3.0.3

2 years ago

3.0.2

2 years ago

3.0.5

2 years ago

3.0.0

2 years ago

1.3.7

2 years ago

1.2.7

2 years ago

1.3.5

2 years ago

1.2.6

2 years ago

1.3.4

2 years ago

1.3.3

2 years ago

1.2.4

2 years ago

1.3.2

2 years ago

1.2.3

2 years ago

1.3.1

2 years ago

1.2.2

2 years ago

1.3.0

2 years ago

1.3.10

2 years ago

1.3.9

2 years ago

1.3.8

2 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.2.1

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago