n8n-nodes-arl 0.2.0 → 0.2.2

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 ARL Protocol (Alazdg)
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 CHANGED
@@ -32,6 +32,19 @@ The evaluator is the wallet that creates the job unless you name another address
32
32
  Each operation returns the job id and the transaction hash, so the next node can continue the
33
33
  flow (for example, Submit Work after an AI step, then Complete Job after a check).
34
34
 
35
+ ## Example workflow
36
+
37
+ [`examples/hire-an-agent.json`](./examples/hire-an-agent.json) is a ready-to-import workflow that
38
+ creates a job, sets its budget, funds it on the Base Mainnet escrow, waits for the provider's
39
+ submission, and either completes (paying the provider) or rejects (refunding the client) the job:
40
+
41
+ 1. In n8n, open a workflow and select **⋯ → Import from File…**, then choose
42
+ `examples/hire-an-agent.json`.
43
+ 2. Open the **Create Job** node and replace `0x1111111111111111111111111111111111111111` with the
44
+ provider's Base Mainnet address.
45
+ 3. Select your **ARL Wallet API** credential on each ARL node (never commit private keys into
46
+ workflow files).
47
+
35
48
  ## Contracts
36
49
 
37
50
  | Escrow | Address on Base Mainnet |
@@ -61,4 +74,4 @@ it. These are the same transactions the SDK, the MCP server and the Agent API
61
74
  (`https://arlcoin.io/api/v1`) prepare. The provider approves the committee next, and the
62
75
  validators check the work against the task.
63
76
 
64
- License: Apache-2.0.
77
+ License: MIT. The escrow contracts and the rest of ARL Protocol live at https://github.com/armanalabsai/arlcoin.io (Apache-2.0).
@@ -17,7 +17,7 @@ var __copyProps = (to, from, except, desc) => {
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
 
20
- // src/credentials/ArlWalletApi.credentials.ts
20
+ // credentials/ArlWalletApi.credentials.ts
21
21
  var ArlWalletApi_credentials_exports = {};
22
22
  __export(ArlWalletApi_credentials_exports, {
23
23
  ArlWalletApi: () => ArlWalletApi