n8n-nodes-arl 0.2.0 → 0.2.1
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 +21 -0
- package/README.md +14 -1
- package/dist/nodes/Arl/Arl.node.js +3 -1
- package/package.json +2 -2
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 (this package only; the rest of the ARL repository is Apache-2.0).
|
|
@@ -20525,7 +20525,9 @@ var verifiedEvaluatorAbi = parseAbi([
|
|
|
20525
20525
|
"struct Verdict { uint8 phase; bool providerApproved; uint8 approvals; uint8 rejections; uint8 topApprovals; uint64 voteEnds; uint64 challengeEnds; address challenger; uint256 bond; bytes32 deliverable; bytes32 voteHash; }",
|
|
20526
20526
|
"function configure(uint256 jobId, Config cfg)",
|
|
20527
20527
|
"function getVerdict(uint256 jobId) view returns (Verdict)",
|
|
20528
|
-
"function
|
|
20528
|
+
"function outcomesOf(uint256 agentId) view returns (uint64 approved, uint64 rejected)",
|
|
20529
|
+
"function finalize(uint256 jobId)",
|
|
20530
|
+
"function minChallengeWindow() view returns (uint64)"
|
|
20529
20531
|
]);
|
|
20530
20532
|
var VerifiedJobError = class extends Error {
|
|
20531
20533
|
name = "VerifiedJobError";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-arl",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "n8n node for ARL Protocol: escrowed AI and agent jobs on Base Mainnet, paid in ARL or USDC (ERC-8183)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"n8n-community-node-package",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"erc-8183",
|
|
11
11
|
"ai-agents"
|
|
12
12
|
],
|
|
13
|
-
"license": "
|
|
13
|
+
"license": "MIT",
|
|
14
14
|
"homepage": "https://arlcoin.io",
|
|
15
15
|
"author": "Alazdg <team@arlcoin.io>",
|
|
16
16
|
"repository": {
|