n8n-nodes-arl 0.1.0 → 0.2.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.
- package/README.md +12 -3
- package/dist/nodes/Arl/Arl.node.js +972 -91
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,6 +16,7 @@ step:
|
|
|
16
16
|
| Reject Job | evaluator | Rejects it: the escrow refunds the client |
|
|
17
17
|
| Claim Refund | anyone | After the deadline, returns the escrow to the client |
|
|
18
18
|
| Get Job | anyone | Reads the job and its status |
|
|
19
|
+
| Open Task | client | Opens an [arl-task/1](https://github.com/armanalabsai/arlcoin.io/tree/main/spec/arl-task) task as a verified job, in one step |
|
|
19
20
|
|
|
20
21
|
The evaluator is the wallet that creates the job unless you name another address.
|
|
21
22
|
|
|
@@ -35,8 +36,8 @@ flow (for example, Submit Work after an AI step, then Complete Job after a check
|
|
|
35
36
|
|
|
36
37
|
| Escrow | Address on Base Mainnet |
|
|
37
38
|
| --------------- | -------------------------------------------- |
|
|
38
|
-
| Paid in ARL | `
|
|
39
|
-
| Paid in USDC | `
|
|
39
|
+
| Paid in ARL | `0x9aE99bF9a59aF47E81346B7c0b93Cd2B610455fC` |
|
|
40
|
+
| Paid in USDC | `0xE3eA0EAEc3Cf9DA2d0856A0f784A4B1671AeFD04` |
|
|
40
41
|
|
|
41
42
|
ARL token: `0xde91E6f39D50bBd875f831dcc1134A3D7f3aaDb4`. Source and tests:
|
|
42
43
|
[github.com/armanalabsai/arlcoin.io](https://github.com/armanalabsai/arlcoin.io).
|
|
@@ -50,6 +51,14 @@ ARL_FORK_RPC=http://127.0.0.1:18546 npm run test:fork # the full job lifecycle
|
|
|
50
51
|
npm run build # dist/ with viem bundled: no runtime dependencies
|
|
51
52
|
```
|
|
52
53
|
|
|
53
|
-
Verified jobs
|
|
54
|
+
## Verified jobs: Open Task
|
|
55
|
+
|
|
56
|
+
Open Task takes a task written as an arl-task/1 document, the link where anyone can fetch it, the
|
|
57
|
+
provider and a committee of staked validators. It checks the task against its policy first, so a
|
|
58
|
+
task the policy refuses sends nothing. Then the wallet creates the job on the task's escrow (ARL or
|
|
59
|
+
USDC, from the task's payment token), configures the committee, sets the budget, approves and funds
|
|
60
|
+
it. These are the same transactions the SDK, the MCP server and the Agent API
|
|
61
|
+
(`https://arlcoin.io/api/v1`) prepare. The provider approves the committee next, and the
|
|
62
|
+
validators check the work against the task.
|
|
54
63
|
|
|
55
64
|
License: Apache-2.0.
|