7.0.0 • Published 2 months ago

@mintblue/sdk v7.0.0

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
2 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);
})();
7.0.0

2 months ago

6.0.1

3 months ago

6.0.0

3 months ago

5.2.5

5 months ago

5.2.4

5 months ago

5.1.0

7 months ago

3.0.6

10 months ago

4.4.1

8 months ago

4.4.0

8 months ago

4.4.3

8 months ago

4.4.2

8 months ago

4.0.1

9 months ago

4.0.0

9 months ago

4.2.1

9 months ago

4.2.0

9 months ago

5.2.3

7 months ago

5.2.2

7 months ago

5.2.1

7 months ago

5.2.0

7 months ago

5.0.2

8 months ago

5.0.1

8 months ago

5.0.0

8 months ago

4.4.5

8 months ago

4.4.4

8 months ago

1.5.0

9 months ago

4.4.6

8 months ago

4.1.0

9 months ago

4.3.0

8 months ago

1.4.0

1 year ago

2.0.0

12 months ago

3.0.4

11 months ago

3.0.3

12 months ago

3.0.2

12 months ago

3.0.5

11 months ago

3.0.0

12 months ago

1.3.7

1 year ago

1.2.7

1 year ago

1.3.5

1 year ago

1.2.6

1 year ago

1.3.4

1 year ago

1.3.3

1 year ago

1.2.4

1 year ago

1.3.2

1 year ago

1.2.3

1 year ago

1.3.1

1 year ago

1.2.2

1 year ago

1.3.0

1 year ago

1.3.10

1 year ago

1.3.9

1 year ago

1.3.8

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.2.1

1 year ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago