tryflop 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/README.md +2 -2
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/src/claim.js +4 -1
- package/src/shared/config.js +29 -1
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Paste this into an AI agent that can run commands (Claude Code, Codex, Cursor…
|
|
|
13
13
|
The agent checks your computer, asks you two or three short questions, and runs one command:
|
|
14
14
|
|
|
15
15
|
```
|
|
16
|
-
npx -y tryflop@0.2.
|
|
16
|
+
npx -y tryflop@0.2.1 setup --topic "<a subject for the daily questions>"
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
Then, once, save your wallet's 12 recovery words yourself, in your own terminal window (never through the AI agent):
|
|
@@ -24,7 +24,7 @@ Then, once, save your wallet's 12 recovery words yourself, in your own terminal
|
|
|
24
24
|
|
|
25
25
|
## What it does every day
|
|
26
26
|
|
|
27
|
-
1. **Claims** Flop's free test FLOP for its own wallet (
|
|
27
|
+
1. **Claims** Flop's free test FLOP for its own wallet (1 FLOP on the first claim, then 10 once an earlier grant has paid a miner; Flop's faucet also limits each internet connection). A claim whose answer is unclear is never sent again: the chain decides.
|
|
28
28
|
2. **Checks whether Flop's scoring has started** (Try Flop's published status, confirmed against Flop's chain).
|
|
29
29
|
3. **Spends**: before scoring starts, the least that keeps the faucet flowing (one paid channel, one short question); once scoring is on, the day's grant, on a daily brief about your chosen subject (at most 8 channels a run). Answers go to `~/TryFlop/answers/`.
|
|
30
30
|
4. **Settles** each payment cooperatively on Flop's chain; a channel a miner never settles comes back to the wallet after its window.
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tryflop",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "tryflop",
|
|
9
|
-
"version": "0.2.
|
|
9
|
+
"version": "0.2.1",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@flop-labs/sdk": "0.14.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tryflop",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Try Flop for AI agents: your agent's own Flop wallet claims Flop's free test FLOP and pays real miners for AI answers, every day. An independent tool, not made by Flop Labs.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
package/src/claim.js
CHANGED
|
@@ -376,7 +376,10 @@ export async function runClaimFlow({ network, keyAddress, owner, recordFile, cha
|
|
|
376
376
|
const nonce = String(clock.now());
|
|
377
377
|
record.claim = { status: 'sending', at: clock.now(), nonce, beforePlanck: String(before) };
|
|
378
378
|
save();
|
|
379
|
-
|
|
379
|
+
// Flop's agent lane pays 1 FLOP on the FIRST claim and 10 only once an earlier grant has paid a miner
|
|
380
|
+
// (`agent.grantFlop` 1, `refillFlop` 10, `rolloverRequiresSpend` true; /limits read 1 Dec 2026), so the
|
|
381
|
+
// first claim must not be announced as ten.
|
|
382
|
+
say(`Asking Flop's ${network.name} faucet for its grant (${network.quickGrant.flop} FLOP on a first claim, 10 once an earlier one has paid a miner) for ${own ? 'this wallet' : 'this connector\'s key'} ${keyAddress}…`);
|
|
380
383
|
let answer;
|
|
381
384
|
try {
|
|
382
385
|
answer = await faucet.claim(nonce);
|
package/src/shared/config.js
CHANGED
|
@@ -182,7 +182,9 @@ export const NETWORKS = Object.freeze({
|
|
|
182
182
|
* and a transfer to this app's wallet. `node e2e/drive.mjs testnet` fails once a real browser gets through.
|
|
183
183
|
*/
|
|
184
184
|
faucet: 'https://faucet.flop.network',
|
|
185
|
-
|
|
185
|
+
/** 1, not 10: its agent lane pays 1 FLOP on the first claim and 10 once that grant has paid a miner for
|
|
186
|
+
* inference (`agent.grantFlop` 1, `refillFlop` 10, `rolloverRequiresSpend` true, /limits 30 Nov 2026). */
|
|
187
|
+
quickGrant: Object.freeze({ flop: 1, signed: true, verified: false, browserClaim: false }),
|
|
186
188
|
gateway: '',
|
|
187
189
|
/** Flop's own explorer, linked from the announcement ("Follow the chain on FLOPScan"). */
|
|
188
190
|
explorer: 'https://testnet.flopscan.io',
|
|
@@ -213,6 +215,32 @@ export const NETWORKS = Object.freeze({
|
|
|
213
215
|
source: 'https://github.com/flop-labs/network/issues/935#issuecomment-7198236370',
|
|
214
216
|
checked: '2026-11-28',
|
|
215
217
|
}),
|
|
218
|
+
// Vetted read-only on 1 Dec 2026 while every miner above it was down: signed proof ready on testnet for
|
|
219
|
+
// this account, and the chain showed it registered, active and admitted at finalized 523,168. Paid through
|
|
220
|
+
// this package the same day, judged from the chain: channel 0x16959165…cece, opened at block 525,552 and
|
|
221
|
+
// Settled cooperatively at 525,680 with the miner paid 0.0204 FLOP. shuaizhi, listed after this one, timed out
|
|
222
|
+
// on that run, and the app moved to this miner — the NEXT MINER path, observed live.
|
|
223
|
+
Object.freeze({
|
|
224
|
+
id: 'miner43160',
|
|
225
|
+
address: '5HEqF5wgHFzUWH2eaY23gYMbjFvmxSm57aBXByEUEmXvGYuc',
|
|
226
|
+
endpoint: 'https://43.160.196.171.sslip.io',
|
|
227
|
+
model: 'qwen/qwen3-8b',
|
|
228
|
+
modelHash: '0x2dc476dabd39fb86d216e04f3c50313a22fa9e5bfa65f8e236557c30ddfaba55',
|
|
229
|
+
source: 'https://github.com/flop-labs/network/issues/2342',
|
|
230
|
+
checked: '2026-12-01',
|
|
231
|
+
}),
|
|
232
|
+
// NEVER PAID by this app: vetted read-only on 1 Dec 2026 (signed proof ready for this account, registered,
|
|
233
|
+
// active, admitted, bare open 0.179 FLOP). It timed out on the 1 Dec paid run, so it stays last until the
|
|
234
|
+
// chain shows it settling a channel; a read-only check alone must not promote it.
|
|
235
|
+
Object.freeze({
|
|
236
|
+
id: 'shuaizhi',
|
|
237
|
+
address: '5FCAfiU6gECAtrTF26BCBsDo7V7CLS2UwZ2oA862kkFf6DHM',
|
|
238
|
+
endpoint: 'https://shuaizhi.xyz',
|
|
239
|
+
model: 'qwen/qwen3-8b',
|
|
240
|
+
modelHash: '0x2dc476dabd39fb86d216e04f3c50313a22fa9e5bfa65f8e236557c30ddfaba55',
|
|
241
|
+
source: 'https://github.com/flop-labs/network/issues/2339',
|
|
242
|
+
checked: '2026-12-01',
|
|
243
|
+
}),
|
|
216
244
|
]),
|
|
217
245
|
}),
|
|
218
246
|
});
|