Skip to content

Commit fbe7dae

Browse files
authored
Merge pull request #226 from ckb-devrel/rebase-master
Rebase master
2 parents 05b62d0 + b52228c commit fbe7dae

3 files changed

Lines changed: 22 additions & 3 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,17 @@
66
[![npm](https://img.shields.io/npm/l/@offckb/cli.svg?maxAge=1000)](https://github.com/jeffijoe/@offckb/cli/blob/master/LICENSE.md)
77
[![node](https://img.shields.io/node/v/@offckb/cli.svg?maxAge=1000)](https://www.npmjs.com/package/@offckb/cli)
88

9-
**CKB local development network for your first try.**
9+
CKB local development network for your first try.
1010

1111
- One-line command to start a devnet
1212
- No docker required
1313
- Pre-funded test accounts
1414
- Built-in scripts like [Omnilock](https://github.com/cryptape/omnilock) and [Spore-contract](https://github.com/sporeprotocol/spore-contract)
1515
- Multiple minimal dApp templates to learn and get your hands dirty
1616

17-
Start building on CKB blockchain, right now, right away!
17+
**Migrate from v0.2.x to v0.3.x:**
18+
19+
There are BREAKING CHANGES between v0.2.x and v0.3.x, make sure to read the [migration guide](/docs/migration.md) before upgrading.
1820

1921
## Table of Contents
2022

docs/migration.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Migration from v0.2.x to v0.3.x
2+
3+
## BREAKING CHANGES
4+
5+
1. Rename Devnet chain name in `dev.toml` config from `offckb` to standard `ckb_dev`
6+
2. Rename `sync-config` to `sync-scripts`
7+
3. Rename `deployed-scripts` to `my-scripts`
8+
4. Templates `offckb.config.ts` file are refactored with NEW structure
9+
10+
## Add new commands
11+
12+
1. `proxy-rpc`
13+
2. `system-scripts`
14+
3. `debug`
15+
4. `mol`
16+
5. `transfer-all`
17+
6. `repl`

src/cfg/setting.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export const defaultSettings: Settings = {
108108
},
109109
dappTemplate: {
110110
gitRepoUrl: `https://github.com/ckb-devrel/offckb`,
111-
gitBranch: 'v0.3.x',
111+
gitBranch: 'master',
112112
gitFolder: 'templates/v3',
113113
downloadPath: path.resolve(cachePath, 'download', 'dapp-template'),
114114
},

0 commit comments

Comments
 (0)