Skip to content

Commit

Permalink
docs: ✏️ Shared config docs in the README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kostysh committed Aug 18, 2022
1 parent 7d6e21f commit 7911a7e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,17 @@ A library of common components for the Win.so project
yarn add @windingtree/win-commons
```

## Shared config

```typescript
import { config } from '@windingtree/win-commons';

// config.defaultZone
// config.allowedNetworks
// config.getNetworkInfo // helper, returns a network by its chainId
// config.getNetworksByMode // helper, returns networks by the mode (dev, stage, prod)
```

## Multisig helpers

```typescript
Expand Down

0 comments on commit 7911a7e

Please sign in to comment.