@orquestradev/n8n-nodes-solana-signer 0.1.0

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.
Files changed (34) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +308 -0
  3. package/dist/credentials/SolanaAwsKms.credentials.js +69 -0
  4. package/dist/credentials/SolanaAwsKms.credentials.js.map +7 -0
  5. package/dist/credentials/SolanaCdp.credentials.js +69 -0
  6. package/dist/credentials/SolanaCdp.credentials.js.map +7 -0
  7. package/dist/credentials/SolanaCrossmint.credentials.js +55 -0
  8. package/dist/credentials/SolanaCrossmint.credentials.js.map +7 -0
  9. package/dist/credentials/SolanaDfns.credentials.js +69 -0
  10. package/dist/credentials/SolanaDfns.credentials.js.map +7 -0
  11. package/dist/credentials/SolanaFireblocks.credentials.js +70 -0
  12. package/dist/credentials/SolanaFireblocks.credentials.js.map +7 -0
  13. package/dist/credentials/SolanaGcpKms.credentials.js +76 -0
  14. package/dist/credentials/SolanaGcpKms.credentials.js.map +7 -0
  15. package/dist/credentials/SolanaMemory.credentials.js +48 -0
  16. package/dist/credentials/SolanaMemory.credentials.js.map +7 -0
  17. package/dist/credentials/SolanaOpenfort.credentials.js +55 -0
  18. package/dist/credentials/SolanaOpenfort.credentials.js.map +7 -0
  19. package/dist/credentials/SolanaPara.credentials.js +54 -0
  20. package/dist/credentials/SolanaPara.credentials.js.map +7 -0
  21. package/dist/credentials/SolanaPrivy.credentials.js +61 -0
  22. package/dist/credentials/SolanaPrivy.credentials.js.map +7 -0
  23. package/dist/credentials/SolanaTurnkey.credentials.js +69 -0
  24. package/dist/credentials/SolanaTurnkey.credentials.js.map +7 -0
  25. package/dist/credentials/SolanaUtila.credentials.js +61 -0
  26. package/dist/credentials/SolanaUtila.credentials.js.map +7 -0
  27. package/dist/credentials/SolanaVault.credentials.js +71 -0
  28. package/dist/credentials/SolanaVault.credentials.js.map +7 -0
  29. package/dist/index.js +63942 -0
  30. package/dist/index.js.map +7 -0
  31. package/dist/nodes/SolanaSigner/SolanaSigner.node.js +63451 -0
  32. package/dist/nodes/SolanaSigner/SolanaSigner.node.js.map +7 -0
  33. package/dist/nodes/SolanaSigner/solana.png +0 -0
  34. package/package.json +75 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 YOUR_NAME
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,308 @@
1
+ <p align="center">
2
+ <img src="logo.png" alt="n8n Solana Signer" width="120" />
3
+ </p>
4
+
5
+ # @orquestradev/n8n-nodes-solana-signer
6
+
7
+ ![npm](https://img.shields.io/npm/v/@orquestradev/n8n-nodes-solana-signer)
8
+ ![License: MIT](https://img.shields.io/badge/License-MIT-purple.svg)
9
+ ![n8n community node](https://img.shields.io/badge/n8n-community%20node-orange)
10
+
11
+ Sign Solana transactions and messages inside your n8n workflows — using any of 13 pluggable signing backends powered by [`@solana/keychain`](https://github.com/solana-foundation/solana-keychain).
12
+
13
+ ---
14
+
15
+ ## Features
16
+
17
+ **Operations**
18
+ - **Get Wallet Address** — return the public key for a configured signer
19
+ - **Sign Message** — sign arbitrary UTF-8 messages
20
+ - **Sign Transaction** — sign a base64-encoded Solana transaction (wire format)
21
+ - **Send Transaction** — sign + broadcast to any Solana RPC endpoint, return tx signature
22
+
23
+ **Backends**
24
+ | Backend | Use Case |
25
+ |---------|----------|
26
+ | Memory (Local Keypair) | Dev/automation, base58 or JSON-array private key |
27
+ | HashiCorp Vault | Enterprise secrets management |
28
+ | AWS KMS | AWS-managed key signing |
29
+ | GCP KMS | Google Cloud-managed key signing |
30
+ | Privy | Privy embedded wallet |
31
+ | Turnkey | Turnkey MPC wallet |
32
+ | Fireblocks | Fireblocks institutional custody |
33
+ | Coinbase CDP | Coinbase Developer Platform wallet |
34
+ | Dfns | Dfns MPC wallet |
35
+ | Crossmint | Crossmint wallet |
36
+ | Openfort | Openfort backend wallet |
37
+ | Para MPC | Para MPC wallet |
38
+ | Utila | Utila wallet |
39
+
40
+ ---
41
+
42
+ ## Installation
43
+
44
+ ### Method 1 — n8n UI (Recommended)
45
+
46
+ 1. Open your n8n instance
47
+ 2. Go to **Settings → Community Nodes**
48
+ 3. Click **Install**
49
+ 4. Enter: `@orquestradev/n8n-nodes-solana-signer`
50
+ 5. Click **Install** and restart n8n when prompted
51
+
52
+ > Requires n8n v0.187.0 or later with community nodes enabled.
53
+
54
+ ### Method 2 — Docker Compose (Self-hosted)
55
+
56
+ This repo ships a ready-to-use `docker-compose.yml` that bundles n8n with the node pre-installed.
57
+
58
+ **Clone and start:**
59
+
60
+ ```bash
61
+ git clone https://github.com/berkayoztunc/n8n-nodes-solana-signer
62
+ cd n8n-nodes-solana-signer
63
+
64
+ npm install
65
+ npm run build
66
+
67
+ docker compose up -d
68
+ ```
69
+
70
+ n8n is available at [http://localhost:5678](http://localhost:5678).
71
+
72
+ **Stop:**
73
+
74
+ ```bash
75
+ docker compose down
76
+ ```
77
+
78
+ **Rebuild after updates:**
79
+
80
+ ```bash
81
+ npm run build
82
+ docker compose build
83
+ docker compose up -d
84
+ ```
85
+
86
+ Data persists in a Docker volume (`n8n_data`). To wipe it:
87
+
88
+ ```bash
89
+ docker compose down -v
90
+ ```
91
+
92
+ ### Method 3 — npm (Self-hosted)
93
+
94
+ ```bash
95
+ cd ~/.n8n/custom
96
+ npm install @orquestradev/n8n-nodes-solana-signer
97
+ # Restart n8n
98
+ ```
99
+
100
+ ### Method 4 — Local Development / Symlink
101
+
102
+ ```bash
103
+ git clone https://github.com/berkayoztunc/n8n-nodes-solana-signer
104
+ cd n8n-nodes-solana-signer
105
+ npm install
106
+ npm run build
107
+
108
+ ln -s $(pwd) ~/.n8n/custom/n8n-nodes-solana-signer
109
+ # Restart n8n
110
+ ```
111
+
112
+ ---
113
+
114
+ ## Configuration
115
+
116
+ Each backend uses its own credential type. Create credentials in n8n under **Credentials → New**.
117
+
118
+ ### Memory (Local Keypair)
119
+
120
+ | Field | Description |
121
+ |-------|-------------|
122
+ | Private Key | Base58 private key **or** Solana CLI JSON array `[1,2,...,64]` |
123
+
124
+ ### HashiCorp Vault
125
+
126
+ | Field | Description |
127
+ |-------|-------------|
128
+ | Vault URL | e.g. `http://127.0.0.1:8200` |
129
+ | Token | Vault auth token |
130
+ | Key Name | Transit key name |
131
+ | Mount Path | Transit engine mount (default: `transit`) |
132
+
133
+ ### AWS KMS
134
+
135
+ | Field | Description |
136
+ |-------|-------------|
137
+ | Access Key ID | AWS access key |
138
+ | Secret Access Key | AWS secret key |
139
+ | Region | e.g. `us-east-1` |
140
+ | Key ID | KMS key ID or ARN |
141
+
142
+ ### GCP KMS
143
+
144
+ | Field | Description |
145
+ |-------|-------------|
146
+ | Project ID | GCP project ID |
147
+ | Location ID | e.g. `global` or `us-east1` |
148
+ | Key Ring ID | KMS key ring name |
149
+ | Key ID | KMS key name |
150
+ | Service Account Credentials JSON | Service account JSON string |
151
+
152
+ ### Privy
153
+
154
+ | Field | Description |
155
+ |-------|-------------|
156
+ | App ID | Privy application ID |
157
+ | App Secret | Privy application secret |
158
+ | Wallet ID | Target wallet ID |
159
+
160
+ ### Turnkey
161
+
162
+ | Field | Description |
163
+ |-------|-------------|
164
+ | API Public Key | Turnkey API public key |
165
+ | API Private Key | Turnkey API private key |
166
+ | Organization ID | Turnkey organization ID |
167
+ | Wallet Account Address | Solana wallet account address |
168
+
169
+ ### Fireblocks
170
+
171
+ | Field | Description |
172
+ |-------|-------------|
173
+ | API Key | Fireblocks API key |
174
+ | Secret Key (PEM) | RSA private key in PEM format |
175
+ | Vault Account ID | Vault account ID (default: `0`) |
176
+ | Asset ID | e.g. `SOL` or `SOL_TEST` |
177
+
178
+ ### Coinbase CDP
179
+
180
+ | Field | Description |
181
+ |-------|-------------|
182
+ | API Key Name | CDP API key name |
183
+ | API Private Key | CDP API private key |
184
+ | Wallet ID | CDP wallet ID |
185
+ | Wallet Address | Solana wallet address |
186
+
187
+ ### Dfns
188
+
189
+ | Field | Description |
190
+ |-------|-------------|
191
+ | App ID | Dfns application ID |
192
+ | Auth Token | Dfns auth token |
193
+ | Wallet ID | Dfns wallet ID |
194
+ | Service Account Credential | Service account key/JSON |
195
+
196
+ ### Crossmint
197
+
198
+ | Field | Description |
199
+ |-------|-------------|
200
+ | API Key | Crossmint API key |
201
+ | Wallet Locator | e.g. `email:user@example.com` |
202
+
203
+ ### Openfort
204
+
205
+ | Field | Description |
206
+ |-------|-------------|
207
+ | Secret Key | Openfort secret key |
208
+ | Account Address | Solana pubkey |
209
+
210
+ ### Para MPC
211
+
212
+ | Field | Description |
213
+ |-------|-------------|
214
+ | API Key | Para API key |
215
+ | Wallet ID | Para wallet ID |
216
+
217
+ ### Utila
218
+
219
+ | Field | Description |
220
+ |-------|-------------|
221
+ | API Key | Utila API key |
222
+ | Vault ID | Utila vault ID |
223
+ | Wallet ID | Utila wallet ID |
224
+
225
+ ---
226
+
227
+ ## Operations Reference
228
+
229
+ ### Get Wallet Address
230
+
231
+ Returns the public key (base58) for the configured signer.
232
+
233
+ **Output:**
234
+ ```json
235
+ { "address": "7xKX..." }
236
+ ```
237
+
238
+ ### Sign Message
239
+
240
+ Signs a UTF-8 string message.
241
+
242
+ **Input:**
243
+ - `message` — string to sign
244
+
245
+ **Output:**
246
+ ```json
247
+ {
248
+ "message": "hello world",
249
+ "signatures": {
250
+ "7xKX...": "<base64-signature>"
251
+ }
252
+ }
253
+ ```
254
+
255
+ ### Sign Transaction
256
+
257
+ Signs a pre-built Solana transaction without broadcasting.
258
+
259
+ **Input:**
260
+ - `transaction` — base64-encoded wire-format transaction
261
+
262
+ **Output:**
263
+ ```json
264
+ {
265
+ "transaction": "<base64-signed-tx>",
266
+ "signatures": {
267
+ "7xKX...": "<base64-signature>"
268
+ }
269
+ }
270
+ ```
271
+
272
+ ### Send Transaction
273
+
274
+ Signs and broadcasts a transaction to a Solana RPC endpoint.
275
+
276
+ **Input:**
277
+ - `transaction` — base64-encoded wire-format transaction
278
+ - `rpcUrl` — RPC endpoint (default: `https://api.mainnet-beta.solana.com`)
279
+
280
+ **Output:**
281
+ ```json
282
+ {
283
+ "signature": "<base58-tx-signature>",
284
+ "signatures": { "7xKX...": "<base64-sig>" }
285
+ }
286
+ ```
287
+
288
+ ---
289
+
290
+ ## Security Notes
291
+
292
+ - Private keys and API secrets are stored in n8n's encrypted credential store — never in workflow JSON.
293
+ - For production wallets, prefer a remote signing backend (AWS KMS, GCP KMS, Turnkey, Privy, etc.) over the Memory backend.
294
+ - The Memory backend holds the private key as a non-extractable `CryptoKey` in memory — it cannot be read back after creation.
295
+ - Never commit private keys or credential values to source control.
296
+
297
+ ---
298
+
299
+ ## Requirements
300
+
301
+ - n8n `>=0.187.0`
302
+ - Node.js `>=18`
303
+
304
+ ---
305
+
306
+ ## License
307
+
308
+ MIT © berkayoztunc
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // credentials/SolanaAwsKms.credentials.ts
21
+ var SolanaAwsKms_credentials_exports = {};
22
+ __export(SolanaAwsKms_credentials_exports, {
23
+ SolanaAwsKms: () => SolanaAwsKms
24
+ });
25
+ module.exports = __toCommonJS(SolanaAwsKms_credentials_exports);
26
+ var SolanaAwsKms = class {
27
+ constructor() {
28
+ this.name = "solanaAwsKms";
29
+ this.displayName = "Solana AWS KMS";
30
+ this.documentationUrl = "https://github.com/solana-foundation/solana-keychain/tree/main/typescript/packages/aws-kms";
31
+ this.properties = [
32
+ {
33
+ displayName: "Access Key ID",
34
+ name: "accessKeyId",
35
+ type: "string",
36
+ default: "",
37
+ required: true
38
+ },
39
+ {
40
+ displayName: "Secret Access Key",
41
+ name: "secretAccessKey",
42
+ type: "string",
43
+ typeOptions: { password: true },
44
+ default: "",
45
+ required: true
46
+ },
47
+ {
48
+ displayName: "Region",
49
+ name: "region",
50
+ type: "string",
51
+ default: "us-east-1",
52
+ required: true
53
+ },
54
+ {
55
+ displayName: "Key ID",
56
+ name: "keyId",
57
+ type: "string",
58
+ default: "",
59
+ required: true,
60
+ description: "AWS KMS Key ID or ARN"
61
+ }
62
+ ];
63
+ }
64
+ };
65
+ // Annotate the CommonJS export names for ESM import in node:
66
+ 0 && (module.exports = {
67
+ SolanaAwsKms
68
+ });
69
+ //# sourceMappingURL=SolanaAwsKms.credentials.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../credentials/SolanaAwsKms.credentials.ts"],
4
+ "sourcesContent": ["import { ICredentialType, INodeProperties } from 'n8n-workflow';\n\nexport class SolanaAwsKms implements ICredentialType {\n\tname = 'solanaAwsKms';\n\tdisplayName = 'Solana AWS KMS';\n\tdocumentationUrl = 'https://github.com/solana-foundation/solana-keychain/tree/main/typescript/packages/aws-kms';\n\n\tproperties: INodeProperties[] = [\n\t\t{\n\t\t\tdisplayName: 'Access Key ID',\n\t\t\tname: 'accessKeyId',\n\t\t\ttype: 'string',\n\t\t\tdefault: '',\n\t\t\trequired: true,\n\t\t},\n\t\t{\n\t\t\tdisplayName: 'Secret Access Key',\n\t\t\tname: 'secretAccessKey',\n\t\t\ttype: 'string',\n\t\t\ttypeOptions: { password: true },\n\t\t\tdefault: '',\n\t\t\trequired: true,\n\t\t},\n\t\t{\n\t\t\tdisplayName: 'Region',\n\t\t\tname: 'region',\n\t\t\ttype: 'string',\n\t\t\tdefault: 'us-east-1',\n\t\t\trequired: true,\n\t\t},\n\t\t{\n\t\t\tdisplayName: 'Key ID',\n\t\t\tname: 'keyId',\n\t\t\ttype: 'string',\n\t\t\tdefault: '',\n\t\t\trequired: true,\n\t\t\tdescription: 'AWS KMS Key ID or ARN',\n\t\t},\n\t];\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,IAAM,eAAN,MAA8C;AAAA,EAA9C;AACN,gBAAO;AACP,uBAAc;AACd,4BAAmB;AAEnB,sBAAgC;AAAA,MAC/B;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,QACT,UAAU;AAAA,MACX;AAAA,MACA;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,aAAa,EAAE,UAAU,KAAK;AAAA,QAC9B,SAAS;AAAA,QACT,UAAU;AAAA,MACX;AAAA,MACA;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,QACT,UAAU;AAAA,MACX;AAAA,MACA;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,QACT,UAAU;AAAA,QACV,aAAa;AAAA,MACd;AAAA,IACD;AAAA;AACD;",
6
+ "names": []
7
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // credentials/SolanaCdp.credentials.ts
21
+ var SolanaCdp_credentials_exports = {};
22
+ __export(SolanaCdp_credentials_exports, {
23
+ SolanaCdp: () => SolanaCdp
24
+ });
25
+ module.exports = __toCommonJS(SolanaCdp_credentials_exports);
26
+ var SolanaCdp = class {
27
+ constructor() {
28
+ this.name = "solanaCdp";
29
+ this.displayName = "Solana Coinbase CDP";
30
+ this.documentationUrl = "https://github.com/solana-foundation/solana-keychain/tree/main/typescript/packages/cdp";
31
+ this.properties = [
32
+ {
33
+ displayName: "API Key Name",
34
+ name: "apiKeyName",
35
+ type: "string",
36
+ default: "",
37
+ required: true
38
+ },
39
+ {
40
+ displayName: "API Private Key",
41
+ name: "apiPrivateKey",
42
+ type: "string",
43
+ typeOptions: { password: true },
44
+ default: "",
45
+ required: true
46
+ },
47
+ {
48
+ displayName: "Wallet ID",
49
+ name: "walletId",
50
+ type: "string",
51
+ default: "",
52
+ required: true
53
+ },
54
+ {
55
+ displayName: "Wallet Address",
56
+ name: "walletAddress",
57
+ type: "string",
58
+ default: "",
59
+ required: true,
60
+ description: "Solana wallet address in CDP"
61
+ }
62
+ ];
63
+ }
64
+ };
65
+ // Annotate the CommonJS export names for ESM import in node:
66
+ 0 && (module.exports = {
67
+ SolanaCdp
68
+ });
69
+ //# sourceMappingURL=SolanaCdp.credentials.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../credentials/SolanaCdp.credentials.ts"],
4
+ "sourcesContent": ["import { ICredentialType, INodeProperties } from 'n8n-workflow';\n\nexport class SolanaCdp implements ICredentialType {\n\tname = 'solanaCdp';\n\tdisplayName = 'Solana Coinbase CDP';\n\tdocumentationUrl = 'https://github.com/solana-foundation/solana-keychain/tree/main/typescript/packages/cdp';\n\n\tproperties: INodeProperties[] = [\n\t\t{\n\t\t\tdisplayName: 'API Key Name',\n\t\t\tname: 'apiKeyName',\n\t\t\ttype: 'string',\n\t\t\tdefault: '',\n\t\t\trequired: true,\n\t\t},\n\t\t{\n\t\t\tdisplayName: 'API Private Key',\n\t\t\tname: 'apiPrivateKey',\n\t\t\ttype: 'string',\n\t\t\ttypeOptions: { password: true },\n\t\t\tdefault: '',\n\t\t\trequired: true,\n\t\t},\n\t\t{\n\t\t\tdisplayName: 'Wallet ID',\n\t\t\tname: 'walletId',\n\t\t\ttype: 'string',\n\t\t\tdefault: '',\n\t\t\trequired: true,\n\t\t},\n\t\t{\n\t\t\tdisplayName: 'Wallet Address',\n\t\t\tname: 'walletAddress',\n\t\t\ttype: 'string',\n\t\t\tdefault: '',\n\t\t\trequired: true,\n\t\t\tdescription: 'Solana wallet address in CDP',\n\t\t},\n\t];\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,IAAM,YAAN,MAA2C;AAAA,EAA3C;AACN,gBAAO;AACP,uBAAc;AACd,4BAAmB;AAEnB,sBAAgC;AAAA,MAC/B;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,QACT,UAAU;AAAA,MACX;AAAA,MACA;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,aAAa,EAAE,UAAU,KAAK;AAAA,QAC9B,SAAS;AAAA,QACT,UAAU;AAAA,MACX;AAAA,MACA;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,QACT,UAAU;AAAA,MACX;AAAA,MACA;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,QACT,UAAU;AAAA,QACV,aAAa;AAAA,MACd;AAAA,IACD;AAAA;AACD;",
6
+ "names": []
7
+ }
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // credentials/SolanaCrossmint.credentials.ts
21
+ var SolanaCrossmint_credentials_exports = {};
22
+ __export(SolanaCrossmint_credentials_exports, {
23
+ SolanaCrossmint: () => SolanaCrossmint
24
+ });
25
+ module.exports = __toCommonJS(SolanaCrossmint_credentials_exports);
26
+ var SolanaCrossmint = class {
27
+ constructor() {
28
+ this.name = "solanaCrossmint";
29
+ this.displayName = "Solana Crossmint";
30
+ this.documentationUrl = "https://github.com/solana-foundation/solana-keychain/tree/main/typescript/packages/crossmint";
31
+ this.properties = [
32
+ {
33
+ displayName: "API Key",
34
+ name: "apiKey",
35
+ type: "string",
36
+ typeOptions: { password: true },
37
+ default: "",
38
+ required: true
39
+ },
40
+ {
41
+ displayName: "Wallet Locator",
42
+ name: "walletLocator",
43
+ type: "string",
44
+ default: "",
45
+ required: true,
46
+ description: "Crossmint wallet locator (e.g. email:user@example.com or address:...)"
47
+ }
48
+ ];
49
+ }
50
+ };
51
+ // Annotate the CommonJS export names for ESM import in node:
52
+ 0 && (module.exports = {
53
+ SolanaCrossmint
54
+ });
55
+ //# sourceMappingURL=SolanaCrossmint.credentials.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../credentials/SolanaCrossmint.credentials.ts"],
4
+ "sourcesContent": ["import { ICredentialType, INodeProperties } from 'n8n-workflow';\n\nexport class SolanaCrossmint implements ICredentialType {\n\tname = 'solanaCrossmint';\n\tdisplayName = 'Solana Crossmint';\n\tdocumentationUrl = 'https://github.com/solana-foundation/solana-keychain/tree/main/typescript/packages/crossmint';\n\n\tproperties: INodeProperties[] = [\n\t\t{\n\t\t\tdisplayName: 'API Key',\n\t\t\tname: 'apiKey',\n\t\t\ttype: 'string',\n\t\t\ttypeOptions: { password: true },\n\t\t\tdefault: '',\n\t\t\trequired: true,\n\t\t},\n\t\t{\n\t\t\tdisplayName: 'Wallet Locator',\n\t\t\tname: 'walletLocator',\n\t\t\ttype: 'string',\n\t\t\tdefault: '',\n\t\t\trequired: true,\n\t\t\tdescription: 'Crossmint wallet locator (e.g. email:user@example.com or address:...)',\n\t\t},\n\t];\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,IAAM,kBAAN,MAAiD;AAAA,EAAjD;AACN,gBAAO;AACP,uBAAc;AACd,4BAAmB;AAEnB,sBAAgC;AAAA,MAC/B;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,aAAa,EAAE,UAAU,KAAK;AAAA,QAC9B,SAAS;AAAA,QACT,UAAU;AAAA,MACX;AAAA,MACA;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,QACT,UAAU;AAAA,QACV,aAAa;AAAA,MACd;AAAA,IACD;AAAA;AACD;",
6
+ "names": []
7
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // credentials/SolanaDfns.credentials.ts
21
+ var SolanaDfns_credentials_exports = {};
22
+ __export(SolanaDfns_credentials_exports, {
23
+ SolanaDfns: () => SolanaDfns
24
+ });
25
+ module.exports = __toCommonJS(SolanaDfns_credentials_exports);
26
+ var SolanaDfns = class {
27
+ constructor() {
28
+ this.name = "solanaDfns";
29
+ this.displayName = "Solana Dfns";
30
+ this.documentationUrl = "https://github.com/solana-foundation/solana-keychain/tree/main/typescript/packages/dfns";
31
+ this.properties = [
32
+ {
33
+ displayName: "App ID",
34
+ name: "appId",
35
+ type: "string",
36
+ default: "",
37
+ required: true
38
+ },
39
+ {
40
+ displayName: "Auth Token",
41
+ name: "authToken",
42
+ type: "string",
43
+ typeOptions: { password: true },
44
+ default: "",
45
+ required: true
46
+ },
47
+ {
48
+ displayName: "Wallet ID",
49
+ name: "walletId",
50
+ type: "string",
51
+ default: "",
52
+ required: true
53
+ },
54
+ {
55
+ displayName: "Service Account Credential",
56
+ name: "serviceAccountCredential",
57
+ type: "string",
58
+ typeOptions: { password: true },
59
+ default: "",
60
+ description: "Dfns service account credential JSON or key"
61
+ }
62
+ ];
63
+ }
64
+ };
65
+ // Annotate the CommonJS export names for ESM import in node:
66
+ 0 && (module.exports = {
67
+ SolanaDfns
68
+ });
69
+ //# sourceMappingURL=SolanaDfns.credentials.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../credentials/SolanaDfns.credentials.ts"],
4
+ "sourcesContent": ["import { ICredentialType, INodeProperties } from 'n8n-workflow';\n\nexport class SolanaDfns implements ICredentialType {\n\tname = 'solanaDfns';\n\tdisplayName = 'Solana Dfns';\n\tdocumentationUrl = 'https://github.com/solana-foundation/solana-keychain/tree/main/typescript/packages/dfns';\n\n\tproperties: INodeProperties[] = [\n\t\t{\n\t\t\tdisplayName: 'App ID',\n\t\t\tname: 'appId',\n\t\t\ttype: 'string',\n\t\t\tdefault: '',\n\t\t\trequired: true,\n\t\t},\n\t\t{\n\t\t\tdisplayName: 'Auth Token',\n\t\t\tname: 'authToken',\n\t\t\ttype: 'string',\n\t\t\ttypeOptions: { password: true },\n\t\t\tdefault: '',\n\t\t\trequired: true,\n\t\t},\n\t\t{\n\t\t\tdisplayName: 'Wallet ID',\n\t\t\tname: 'walletId',\n\t\t\ttype: 'string',\n\t\t\tdefault: '',\n\t\t\trequired: true,\n\t\t},\n\t\t{\n\t\t\tdisplayName: 'Service Account Credential',\n\t\t\tname: 'serviceAccountCredential',\n\t\t\ttype: 'string',\n\t\t\ttypeOptions: { password: true },\n\t\t\tdefault: '',\n\t\t\tdescription: 'Dfns service account credential JSON or key',\n\t\t},\n\t];\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,IAAM,aAAN,MAA4C;AAAA,EAA5C;AACN,gBAAO;AACP,uBAAc;AACd,4BAAmB;AAEnB,sBAAgC;AAAA,MAC/B;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,QACT,UAAU;AAAA,MACX;AAAA,MACA;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,aAAa,EAAE,UAAU,KAAK;AAAA,QAC9B,SAAS;AAAA,QACT,UAAU;AAAA,MACX;AAAA,MACA;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,QACT,UAAU;AAAA,MACX;AAAA,MACA;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,aAAa,EAAE,UAAU,KAAK;AAAA,QAC9B,SAAS;AAAA,QACT,aAAa;AAAA,MACd;AAAA,IACD;AAAA;AACD;",
6
+ "names": []
7
+ }