5.8.0 • Published 1 month ago

@streamr/config v5.8.0

Weekly downloads
-
License
STREAMR NETWORK O...
Repository
github
Last release
1 month ago

@streamr/config

Features

  • Streamr Network development and production smart contract addresses
  • Zero dependency

Installing

Using npm:

npm install --save @streamr/config

Examples

Typescript

Import DATA token production Ethereum address as a variable in a Typescript project:

import { config } from "@streamr/config"

const {
    ethereum: {
        id: chainId,
        contracts: {
            "DATA": dataTokenAddress
        }
    }
} = config

Development

Common Setup

Git checkout repository and change directory to it. Install NVM and run command in the repository root:

nvm use

Install Node modules:

npm ci

Change directory:

cd packages/config

Programming

Start with Common Setup before continuing.

Run tests:

make test

Run lint:

make lint

Run build:

make build

Run clean:

make clean

Changing the config

After each update to the source config file (config.json) rebuild the package to validate integrity:

npm run build

Publish Release

  1. Start with Common Setup before continuing.
  2. Login to Npmjs.com:
    npm login --registry https://registry.npmjs.org --scope @streamr
  3. Run clean build, create a new release on Npmjs.com, update version in package.json, push a release commit, and tag it on GitHub:
    ./release.bash 0.0.2
  4. Draft a new release on GitHub network-contracts repository with the generated tag config/0.0.2 Draft a new release on GitHub

License

MIT

Changelog

2.5.0: DataUnionFactory address in dev1 updated 2.5.3: ProjectRegistry address in dev1 added 2.5.4: MarketplaceV3 address in dev1 added 2.5.5: MarketplaceV4 address in dev1 added 2.5.6: ProjectRegistry, MarketplaceV4, RemoteMarketplace address added on live testnet 2.5.7: ProjectRegistry, ProjectStakingV1 address added on polygon 2.5.8: LINK, ProjectStakingV1 address added on dev1 2.5.9: MarketplaceV4 address added on polygon, RemoteMarketpalce address added on gnosis 2.5.10: Upgraded ProjectRegistry and RemoteMarketplace to ProjectRegistryV1 and RemoteMarketplaceV1

5.4.0: Removed Mumbai (ETH-790) 5.5.0: Refactored the config package, now config.json is available in the NPM package root in plain JSON 5.5.1: Added non-rate-limited apikey access for Amoy subgraph 5.5.2: Changed entrypoint ports 5.5.3: Polygon RPC endpoints updated 5.5.4: Peaq subgraph URL added 5.5.5: Peaq entrypoints set to same as current mainnet (polygon) 5.6.0: IoTeX deployment 5.7.0: IoTeX entrypoints and theGraphUrl added 5.8.0: Addressed changed for dev2

5.8.0

1 month ago

5.5.6

2 months ago

5.5.5

2 months ago

5.5.4

2 months ago

5.5.3

2 months ago

5.5.2

3 months ago

5.6.1

1 month ago

5.6.0

2 months ago

5.7.1

1 month ago

5.7.0

1 month ago

5.5.1

5 months ago

5.5.0

5 months ago

5.4.2

6 months ago

5.4.1-testing.2

7 months ago

5.4.1-testing.3

7 months ago

5.4.1

8 months ago

5.4.1-testing

8 months ago

5.4.0

9 months ago

5.3.13

1 year ago

5.3.12

1 year ago

5.3.11

1 year ago

5.3.10

1 year ago

5.3.9

1 year ago

5.3.8

1 year ago

5.3.7

1 year ago

5.3.6

1 year ago

5.3.5

1 year ago

5.3.3

1 year ago

5.3.2

1 year ago

5.3.1

1 year ago

5.3.0

1 year ago

5.3.4

1 year ago

5.2.7

1 year ago

5.2.6

1 year ago

5.2.5

1 year ago

5.2.4

1 year ago

5.2.3

1 year ago

5.2.2

1 year ago

5.2.1

1 year ago

5.2.0

1 year ago

5.1.2

1 year ago

5.1.1

1 year ago

5.1.0

2 years ago

5.0.5

2 years ago

3.0.2-alpha.0

2 years ago

4.0.5

2 years ago

4.0.4

2 years ago

4.0.10

2 years ago

4.0.7

2 years ago

4.0.6

2 years ago

4.0.1

2 years ago

4.0.0

2 years ago

4.0.3

2 years ago

4.0.2

2 years ago

4.0.12

2 years ago

4.0.11

2 years ago

4.0.13

2 years ago

5.0.4

2 years ago

5.0.3

2 years ago

5.0.2

2 years ago

5.0.1

2 years ago

5.0.0

2 years ago

4.0.9

2 years ago

4.0.8

2 years ago

3.1.1

2 years ago

3.0.1

2 years ago

2.6.4

2 years ago

3.0.0

2 years ago

2.6.0

2 years ago

2.6.3

2 years ago

2.6.2

2 years ago

2.5.9

2 years ago

2.5.10

2 years ago

2.5.8

2 years ago

2.5.7

2 years ago

2.5.6

3 years ago

2.5.5

3 years ago

2.5.0

3 years ago

2.5.2

3 years ago

2.5.1

3 years ago

2.5.4

3 years ago

2.5.3

3 years ago

2.4.0

3 years ago

2.3.0

3 years ago

2.2.1

3 years ago

2.2.0

3 years ago

2.1.1

3 years ago

2.1.0

3 years ago

2.0.0

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago