Skip to content

Commit 7af5300

Browse files
committed
Add rest to workspace and improve
1 parent 494db61 commit 7af5300

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+2475
-5767
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
**/node_modules/
33
.pnpm-store/
44

5-
#Artifacts
5+
# Artifacts
66
**/dist/

apps/bot/.devcontainer/devcontainer.json

Lines changed: 0 additions & 44 deletions
This file was deleted.

apps/bot/.github/workflows/check.yaml

Lines changed: 0 additions & 34 deletions
This file was deleted.

apps/bot/.github/workflows/publish.yml

Lines changed: 0 additions & 49 deletions
This file was deleted.

apps/bot/.gitignore

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1 @@
1-
# Logs
21
log_*.json
3-
logs
4-
*.log
5-
npm-debug.log*
6-
yarn-debug.log*
7-
yarn-error.log*
8-
pnpm-debug.log*
9-
lerna-debug.log*
10-
11-
# Artifacts
12-
node_modules
13-
dist
14-
dist-ssr
15-
*.local
16-
.pnpm-store
17-
18-
# Editor directories and files
19-
.vscode/*
20-
!.vscode/extensions.json
21-
.idea
22-
.DS_Store
23-
*.suo
24-
*.ntvs*
25-
*.njsproj
26-
*.sln
27-
*.sw?
28-
29-
# Templates
30-
.update_templates.sh

apps/bot/.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
**/*{_,.}{test,spec}.*

apps/bot/.prettierrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

apps/bot/LICENSE

Lines changed: 0 additions & 19 deletions
This file was deleted.

apps/bot/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# iCKB/Bot
1+
# iCKB Bot
22

33
Currently the Bot tries to minimize the amount of iCKB holdings, actively looking to convert them to CKB. This is to maximize the CKB liquidity that the bot can offer in case of a iCKB to CKB liquidity crunch, such as [when the redemptions overcome the short term availability of mature deposits](https://talk.nervos.org/t/dis-ickb-dckb-rescuer-funding-proposal-non-coding-expenses/8369/14).
44

@@ -19,13 +19,13 @@ The docs directory aims to host comprehensive documentation outlining the inner
1919
1. Download this repo in a folder of your choice:
2020

2121
```bash
22-
git clone https://github.com/ickb/bot.git
22+
git clone https://github.com/ickb/stack.git
2323
```
2424

2525
2. Enter into the repo folder:
2626

2727
```bash
28-
cd bot
28+
cd stack/apps/bot
2929
```
3030

3131
3. Install dependencies:
@@ -40,7 +40,7 @@ pnpm install
4040
pnpm build
4141
```
4242

43-
5. Define a `env/testnet/.env` file, for example:
43+
5. In `apps/bot` define a `env/testnet/.env` file, for example:
4444

4545
```
4646
CHAIN=testnet
@@ -58,14 +58,14 @@ RPC_URL=http://127.0.0.1:8114/
5858

5959
```bash
6060
export CHAIN=testnet;
61-
pnpm run forcestart;
61+
pnpm run start:loop;
6262
```
6363

6464
## Questions
6565

66-
For questions or comments, please join the discussion via [GitHub Issues](https://github.com/ickb/bot/issues), the [Nervos Nation iCKB channel](https://t.me/NervosNation/307406/378182), or the [Nervos Talk thread](https://talk.nervos.org/t/dis-ickb-dckb-rescuer-funding-proposal-non-coding-expenses/8369).
66+
For questions or comments, please join the discussion via [GitHub Issues](https://github.com/ickb/stack/issues), the [Nervos Nation iCKB channel](https://t.me/NervosNation/307406/378182), or the [Nervos Talk thread](https://talk.nervos.org/t/dis-ickb-dckb-rescuer-funding-proposal-non-coding-expenses/8369).
6767

6868

6969
## Licensing
7070

71-
This source code, crafted with care by [Phroi](https://phroi.com/), is freely available on [GitHub](https://github.com/ickb/bot) and it is released under the [MIT License](./LICENSE).
71+
This source code, crafted with care by [Phroi](https://phroi.com/), is freely available on [GitHub](https://github.com/ickb/stack) and it is released under the [MIT License](../../LICENSE).

apps/bot/eslint.config.mjs

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)