@offckb/cli 0.4.9 → 0.4.10-canary-d5a961c.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 +2 -1
- package/build/index.js +284 -100
- package/ckb/devnet/ckb.toml +7 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -30,6 +30,7 @@ There are BREAKING CHANGES between v0.3.x and v0.4.x, make sure to read the [mig
|
|
|
30
30
|
- [4. Debug Your Contract {#debug-contract}](#4-debug-your-contract-debug-contract)
|
|
31
31
|
- [5. Explore Built-in Scripts {#explore-scripts}](#5-explore-built-in-scripts-explore-scripts)
|
|
32
32
|
- [6. Tweak Devnet Config {#tweak-devnet-config}](#6-tweak-devnet-config-tweak-devnet-config)
|
|
33
|
+
- [7. Fork Mainnet/Testnet Into Your Devnet {#fork-devnet}](#7-fork-mainnettestnet-into-your-devnet-fork-devnet)
|
|
33
34
|
- [Config Setting](#config-setting)
|
|
34
35
|
- [List All Settings](#list-all-settings)
|
|
35
36
|
- [Set CKB version](#set-ckb-version)
|
|
@@ -414,7 +415,7 @@ On a forked devnet, `offckb system-scripts`, transfers, deploys and `offckb debu
|
|
|
414
415
|
> [!CAUTION]
|
|
415
416
|
> CKB transactions carry no chain id, so a transaction built on a mainnet fork that spends copied mainnet cells is also valid on mainnet (CKB provides no replay protection). offckb's own flows only use dev keys and fork-mined cells, which cannot replay. Never sign transactions with real mainnet keys against a fork unless you intend to broadcast them yourself.
|
|
416
417
|
|
|
417
|
-
`offckb transfer` fails closed on a Mainnet fork: non-built-in keys require `--allow-mainnet-
|
|
418
|
+
`offckb transfer` fails closed on a Mainnet fork: non-built-in keys require `--allow-external-key-on-mainnet-fork`, and inputs copied from Mainnet are rejected even with that override. (`--allow-mainnet-replay-risk` from 0.4.9 remains as a deprecated alias.)
|
|
418
419
|
|
|
419
420
|
## Config Setting
|
|
420
421
|
|