Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Commit

Permalink
remove substrate connect
Browse files Browse the repository at this point in the history
  • Loading branch information
mfornos committed Nov 20, 2024
1 parent 33a6b08 commit 611b989
Show file tree
Hide file tree
Showing 13 changed files with 27 additions and 447 deletions.
1 change: 0 additions & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ Here are the available binaries to run the example applications:

* __filter-extrinsics__: Filters extrinsics using HJSON provided filters. Supports pipeable stdin and stdout.
* __follow-transfer-events__: Simple demonstration of dynamic queries.
* __light-client__: Demonstrates the usage of the alternative Smoldot light client provider.
* __simple-fees__: Calculates simple fee stats for a block range.
* __watch-balances__: Watches the change in balances of big exchange hot wallets from chain storage.
* __watch-contracts__: Watches for contract messages of a specific contract and filters based on configured criteria. Supports pipeable stdout.
Expand Down
36 changes: 0 additions & 36 deletions examples/light-client/main.ts

This file was deleted.

2 changes: 0 additions & 2 deletions examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"bin": {
"filter-extrinsics": "./dist/filter-extrinsics/main.cjs",
"follow-transfer-events": "./dist/follow-transfer-events/main.cjs",
"light-client": "./dist/light-client/main.cjs",
"simple-fees": "./dist/simple-fees/main.cjs",
"watch-balances": "./dist/watch-balances/main.cjs",
"watch-contracts": "./dist/watch-contracts/main.cjs",
Expand All @@ -25,7 +24,6 @@
"dependencies": {
"@polkadot/rpc-provider": "^14.3.1",
"@sodazone/ocelloids-sdk": "1.3.2-dev.0",
"@substrate/connect": "^2.0.1",
"graph-data-structure": "^4.2.0",
"hjson": "^3.2.2",
"rxjs": "^7.8.1",
Expand Down
1 change: 0 additions & 1 deletion packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ The `packages/core` module source folder is structured as follows:
| Directory | Description |
|------------------------------|-------------------------------------------|
| apis | Multi-chain APIs |
| client | Alternative light client connector |
| configuration | Configuration |
| converters | Chain data type conversions |
| observables | Reactive emitters |
Expand Down
7 changes: 2 additions & 5 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,8 @@
},
"dependencies": {
"@polkadot/api": "^14.3.1",
"@substrate/connect-known-chains": "^1.7.0",
"mingo": "^6.4.15",
"rxjs": "^7.8.1",
"web-worker": "1.3.0"
"rxjs": "^7.8.1"
},
"devDependencies": {
"@sodazone/ocelloids-sdk-test": "1.3.2-dev.0"
Expand All @@ -58,8 +56,7 @@
"shims": true
},
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --sourcemap --clean --minify && yarn build:worker && yarn build:browser",
"build:worker": "esbuild src/client/worker/smoldot-worker.ts --bundle --packages=external --minify --format=esm --outdir=dist/worker",
"build": "tsup src/index.ts --format cjs,esm --dts --sourcemap --clean --minify && yarn build:browser",
"build:browser": "esbuild src/index.ts --define:import.meta=\"{}\" --bundle --packages=external --minify --sourcemap --platform=browser --outdir=dist/browser"
},
"stableVersion": "1.3.1"
Expand Down
11 changes: 0 additions & 11 deletions packages/core/src/client/index.ts

This file was deleted.

27 changes: 0 additions & 27 deletions packages/core/src/client/known-chains.ts

This file was deleted.

99 changes: 0 additions & 99 deletions packages/core/src/client/smoldot.spec.ts

This file was deleted.

Loading

0 comments on commit 611b989

Please sign in to comment.