n8n-nodes-blockfrost 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +65 -3
- package/dist/nodes/Blockfrost/Blockfrost.credentials.d.ts +1 -0
- package/dist/nodes/Blockfrost/Blockfrost.credentials.d.ts.map +1 -1
- package/dist/nodes/Blockfrost/Blockfrost.credentials.js +1 -0
- package/dist/nodes/Blockfrost/Blockfrost.credentials.js.map +1 -1
- package/dist/nodes/Blockfrost/Blockfrost.node.d.ts.map +1 -1
- package/dist/nodes/Blockfrost/Blockfrost.node.js +1583 -187
- package/dist/nodes/Blockfrost/Blockfrost.node.js.map +1 -1
- package/dist/nodes/Blockfrost/blockfrost-credential.svg +5 -0
- package/dist/nodes/Blockfrost/blockfrost.svg +5 -0
- package/nodes/Blockfrost/blockfrost-credential.svg +5 -0
- package/nodes/Blockfrost/blockfrost.svg +5 -0
- package/package.json +19 -6
package/README.md
CHANGED
|
@@ -1,13 +1,55 @@
|
|
|
1
|
+
## Screenshots
|
|
2
|
+
|
|
3
|
+
### Blockfrost Credential Selection
|
|
4
|
+

|
|
5
|
+
|
|
6
|
+
### Blockfrost Credential Configuration
|
|
7
|
+

|
|
8
|
+
|
|
9
|
+
### Blockfrost Node Selection in Workflow
|
|
10
|
+

|
|
11
|
+
|
|
12
|
+
### Blockfrost Node Configuration Details
|
|
13
|
+

|
|
14
|
+
|
|
15
|
+
## Demo Video
|
|
16
|
+
|
|
17
|
+
[](https://youtu.be/fVEHHZigBes)
|
|
1
18
|
# n8n-nodes-blockfrost
|
|
2
19
|
|
|
3
20
|
This is a custom n8n node for interacting with the [Cardano blockchain](https://cardano.org) via the [Blockfrost API](https://blockfrost.io).
|
|
4
21
|
|
|
5
22
|
## Features
|
|
6
23
|
|
|
7
|
-
|
|
24
|
+
**🎯 Comprehensive Cardano Blockchain Integration**
|
|
25
|
+
- **75+ endpoints** covering all major Cardano operations
|
|
26
|
+
- **Complete API coverage** following Blockfrost OpenAPI v0.1.78
|
|
27
|
+
|
|
28
|
+
**📊 Available Categories:**
|
|
29
|
+
- **Health & Metrics** - API status and usage monitoring
|
|
30
|
+
- **Accounts** - Stake account information, rewards, history, delegations
|
|
31
|
+
- **Addresses** - Address details, UTXOs, transactions
|
|
32
|
+
- **Assets** - Native tokens, NFTs, asset history and transactions
|
|
33
|
+
- **Blocks** - Block information, transactions, addresses affected
|
|
34
|
+
- **Epochs** - Epoch details, stake distribution, protocol parameters
|
|
35
|
+
- **Governance** - DReps, proposals, votes, governance metadata
|
|
36
|
+
- **Ledger** - Blockchain genesis information
|
|
37
|
+
- **Mempool** - Current pending transactions
|
|
38
|
+
- **Metadata** - Transaction metadata in JSON and CBOR formats
|
|
39
|
+
- **Network** - Network statistics and era information
|
|
40
|
+
- **Pools** - Stake pool data, delegators, performance, votes
|
|
41
|
+
- **Scripts** - Smart contracts, Plutus scripts, redeemers, datums
|
|
42
|
+
- **Transactions** - Full transaction details, UTXOs, certificates, submission
|
|
43
|
+
- **Utilities** - Address derivation, transaction evaluation
|
|
44
|
+
|
|
45
|
+
**🔧 Advanced Features:**
|
|
8
46
|
- Work with NFTs and native tokens
|
|
9
|
-
-
|
|
10
|
-
-
|
|
47
|
+
- Submit transactions to the blockchain
|
|
48
|
+
- Query smart contract data and redeemers
|
|
49
|
+
- Access governance information (DReps, proposals)
|
|
50
|
+
- Monitor stake pool performance and delegations
|
|
51
|
+
- Evaluate transaction execution costs
|
|
52
|
+
- Support for all Cardano networks (mainnet, preprod, preview)
|
|
11
53
|
|
|
12
54
|
## Installation
|
|
13
55
|
|
|
@@ -26,6 +68,26 @@ This is a custom n8n node for interacting with the [Cardano blockchain](https://
|
|
|
26
68
|
4. Build the project: `npm run build`
|
|
27
69
|
5. Restart n8n
|
|
28
70
|
|
|
71
|
+
### Option 3: Fail-Safe Installation (if npm install does not work as expected)
|
|
72
|
+
|
|
73
|
+
If running `npm install n8n-nodes-blockfrost` in your `~/.n8n/custom/` directory does not install the package correctly, try the following steps:
|
|
74
|
+
|
|
75
|
+
1. Open a terminal and navigate to your n8n custom directory:
|
|
76
|
+
```
|
|
77
|
+
cd ~/.n8n/custom
|
|
78
|
+
```
|
|
79
|
+
2. Initialize a package.json if it does not exist:
|
|
80
|
+
```
|
|
81
|
+
npm init -y
|
|
82
|
+
```
|
|
83
|
+
3. Install the package:
|
|
84
|
+
```
|
|
85
|
+
npm install n8n-nodes-blockfrost
|
|
86
|
+
```
|
|
87
|
+
4. Restart n8n completely (stop and start the process).
|
|
88
|
+
|
|
89
|
+
This ensures the package and its dependencies are installed correctly and n8n can load the custom node.
|
|
90
|
+
|
|
29
91
|
## Prerequisites
|
|
30
92
|
|
|
31
93
|
- [n8n](https://n8n.io/) (version 0.209.0 or newer)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blockfrost.credentials.d.ts","sourceRoot":"","sources":["../../../src/nodes/Blockfrost/Blockfrost.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,qBAAa,UAAW,YAAW,eAAe;IAChD,IAAI,SAAmB;IACvB,WAAW,SAAoB;IAC/B,UAAU;;;;;;;;;;;;;;;;;;;SAsBR;CACH;AAED,eAAe,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"Blockfrost.credentials.d.ts","sourceRoot":"","sources":["../../../src/nodes/Blockfrost/Blockfrost.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,qBAAa,UAAW,YAAW,eAAe;IAChD,IAAI,SAAmB;IACvB,WAAW,SAAoB;IAC/B,IAAI,EAAG,gCAAgC,CAAU;IACjD,UAAU;;;;;;;;;;;;;;;;;;;SAsBR;CACH;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blockfrost.credentials.js","sourceRoot":"","sources":["../../../src/nodes/Blockfrost/Blockfrost.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,UAAU;IAAvB;QACE,SAAI,GAAG,eAAe,CAAC;QACvB,gBAAW,GAAG,gBAAgB,CAAC;QAC/B,eAAU,GAAG;YACX;gBACE,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAiB;gBACvB,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,uDAAuD;aACrE;YACD;gBACE,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAkB;gBACxB,OAAO,EAAE;oBACP,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;oBACrC,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;oBACrC,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;iBACtC;gBACD,OAAO,EAAE,SAAS;gBAClB,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,mCAAmC;aACjD;SACF,CAAC;IACJ,CAAC;CAAA;
|
|
1
|
+
{"version":3,"file":"Blockfrost.credentials.js","sourceRoot":"","sources":["../../../src/nodes/Blockfrost/Blockfrost.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,UAAU;IAAvB;QACE,SAAI,GAAG,eAAe,CAAC;QACvB,gBAAW,GAAG,gBAAgB,CAAC;QAC/B,SAAI,GAAG,gCAAyC,CAAC;QACjD,eAAU,GAAG;YACX;gBACE,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAiB;gBACvB,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,uDAAuD;aACrE;YACD;gBACE,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAkB;gBACxB,OAAO,EAAE;oBACP,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;oBACrC,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;oBACrC,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;iBACtC;gBACD,OAAO,EAAE,SAAS;gBAClB,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,mCAAmC;aACjD;SACF,CAAC;IACJ,CAAC;CAAA;AA3BD,gCA2BC;AAED,kBAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blockfrost.node.d.ts","sourceRoot":"","sources":["../../../src/nodes/Blockfrost/Blockfrost.node.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,EACT,oBAAoB,EAErB,MAAM,cAAc,CAAC;AAItB,qBAAa,UAAW,YAAW,SAAS;IAC1C,WAAW,EAAE,oBAAoB,
|
|
1
|
+
{"version":3,"file":"Blockfrost.node.d.ts","sourceRoot":"","sources":["../../../src/nodes/Blockfrost/Blockfrost.node.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,EACT,oBAAoB,EAErB,MAAM,cAAc,CAAC;AAItB,qBAAa,UAAW,YAAW,SAAS;IAC1C,WAAW,EAAE,oBAAoB,CAs7B/B;IAEI,OAAO,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC;CAq/BxE;AAED,eAAe,UAAU,CAAC"}
|