Resolve "WIP: UTXO Selection and Storage"
This commit is contained in:
@@ -72,11 +72,13 @@ npm run dev
|
||||
## Useful NPM Workspace Commands
|
||||
|
||||
- List all packages in the workspace:
|
||||
|
||||
```bash
|
||||
npm ls -w
|
||||
```
|
||||
|
||||
- Run a command in a specific package:
|
||||
|
||||
```bash
|
||||
npm run <command> --workspace=@my-monorepo/<package-name>
|
||||
```
|
||||
@@ -85,3 +87,17 @@ npm run dev
|
||||
```bash
|
||||
npm install <dependency> --workspace=@my-monorepo/<package-name>
|
||||
```
|
||||
|
||||
## Refactor details
|
||||
|
||||
We will want to use inheritance in place of IWallet, etc. A neat structure to refactor to is:
|
||||
|
||||
- /theThing/
|
||||
- base-thing.ts
|
||||
- types.ts
|
||||
- utils.ts
|
||||
- ...
|
||||
|
||||
- Rename IndexedCollection to ExtMap.
|
||||
- Rename from method to fromArray.
|
||||
- Have the from method accept an object.
|
||||
|
||||
Reference in New Issue
Block a user