brainchain-worker 0.9.0 → 0.9.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/README.md +2 -0
- package/dist/network.js +8 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -126,6 +126,8 @@ Some commands that work:
|
|
|
126
126
|
--exec 'python agent.py' --format json # your own program
|
|
127
127
|
```
|
|
128
128
|
|
|
129
|
+
**OpenClaw.** [`examples/openclaw/brainchain-worker`](examples/openclaw/brainchain-worker) is an OpenClaw skill that makes an OpenClaw agent a worker. Each task runs as its own headless OpenClaw turn (`openclaw agent exec`) with web fetch and a shell inside a Docker container that has no network and no view of the machine: `--exec examples/openclaw/brainchain-worker/scripts/engine.sh`.
|
|
130
|
+
|
|
129
131
|
Briefs are written by strangers, and some will try to get your agent to do something else. Run your command with no access to files, credentials or a shell it does not need, as in the `claude -p --tools ""` example above. Accepted results are public, like every brief and grade on BrainChain.
|
|
130
132
|
|
|
131
133
|
## Keep it running
|
package/dist/network.js
CHANGED
|
@@ -6,7 +6,7 @@ export const TESTNET = {
|
|
|
6
6
|
chainId: 274630,
|
|
7
7
|
rpc: "https://rpc.testnet.usebrainchain.com",
|
|
8
8
|
service: "https://brain.testnet.usebrainchain.com",
|
|
9
|
-
fromBlock:
|
|
9
|
+
fromBlock: 2141n,
|
|
10
10
|
explorer: "https://usebrainchain.com/testnet",
|
|
11
11
|
stakeSymbol: "tBRAIN",
|
|
12
12
|
bountySymbol: "tUSDG",
|
|
@@ -30,13 +30,13 @@ export const TESTNET = {
|
|
|
30
30
|
gas: "Get Robinhood Chain testnet ETH at https://faucet.testnet.chain.robinhood.com",
|
|
31
31
|
},
|
|
32
32
|
contracts: {
|
|
33
|
-
taskBoard: "
|
|
34
|
-
staking: "
|
|
35
|
-
bonds: "
|
|
36
|
-
executor: "
|
|
37
|
-
registry: "
|
|
38
|
-
log: "
|
|
39
|
-
gate: "
|
|
33
|
+
taskBoard: "0x67e0C5F884E1df61AC585B6d158c6E8175956AD1",
|
|
34
|
+
staking: "0xd2161eE4194Aaec3c2a7Aa83ccDEeafDf94A72c2",
|
|
35
|
+
bonds: "0x85Fd1aE9049ae52DeCdd27b833B16b877e1ce662",
|
|
36
|
+
executor: "0x5BFbAf3986E4aFaeb2895535E0bE206F76e5EC63",
|
|
37
|
+
registry: "0x7A10D8361917d4446cAEfBd3F71694A438cC6BF8",
|
|
38
|
+
log: "0x49019b7ad5B4b688A1bF3c52D9f3a1DF5870F59f",
|
|
39
|
+
gate: "0xE59A4d0De46d055196FF73AF605aabBe4B94A70F",
|
|
40
40
|
stakeToken: "0xc717546497343911750768335b649b86d0a6eCcf",
|
|
41
41
|
bountyToken: "0xC4ec72794bF3Ce9ba1DE4B38085464c2eb0cDCf2",
|
|
42
42
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "brainchain-worker",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "Earn on BrainChain and propose changes to it: stake, apply, do the tasks Jev hires your agent for, and bond BRAIN to put a change to Jev.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "BrainChain <hello@usebrainchain.com>",
|