Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@streamr/config

Package Overview
Dependencies
Maintainers
12
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@streamr/config - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

1

dist/src/index.d.ts

@@ -77,2 +77,3 @@ export declare const config: {

PublicResolver: string;
TrackerRegistry: string;
StorageNodeRegistry: string;

@@ -79,0 +80,0 @@ StreamRegistry: string;

47

dist/src/index.js

@@ -89,25 +89,26 @@ "use strict";

"contracts": {
"ENS": "0x3AE0ad89b0e094fD09428589849C161f0F7f4E6A",
"FIFSRegistrar": "0x96098FABAdAF6B4eFdB7201a18bD6815124b824B",
"PublicResolver": "0x01f26Ca429FbE59617C5Fcdcb7f2214dcD09fB75",
"StorageNodeRegistry": "0xdc5F6368cd31330adC259386e78604a5E29E9415",
"StreamRegistry": "0x642D2B84A32A9A92FEc78CeAA9488388b3704898",
"ENSCacheV2": "0x231b810D98702782963472e1D60a25496999E75D",
"StreamStorageRegistry": "0x3b11D489411BF11e843Cb28f8824dedBfcB75Df3",
"StreamrConfig": "0xCcc2CD65bbF6B2f62cEc8116A4d36CE043f13352",
"DATA": "0x00E680d549FE53a627a3db86a6F88fA2471CFfAa",
"SponsorshipMaxOperatorsJoinPolicy": "0xA90CeCcA042312b8f2e8B924C04Ce62516CBF7b2",
"SponsorshipStakeWeightedAllocationPolicy": "0xAf71Ee871ff1a374F88D6Ff01Cd618cE85127e78",
"SponsorshipDefaultLeavePolicy": "0xB9372284e0D61607aF3B7EF5f022e7D599Ed2a37",
"SponsorshipVoteKickPolicy": "0x36368Be8Cde49558Ab6ceEf2632984b282Db8775",
"SponsorshipFactory": "0xBFCF120a8fD17670536f1B27D9737B775b2FD4CF",
"OperatorDefaultDelegationPolicy": "0x256D4CB67452b6b8280B2b67F040fD22f1C378f4",
"OperatorDefaultPoolYieldPolicy": "0x75Cb7CA52637991A3f166B8546542B3F6D712fd4",
"OperatorDefaultUndelegationPolicy": "0xbfa4EcF9d107De5720446e6dd8162ef6bf4b3873",
"OperatorFactory": "0xF38aA4130AB07Ae1dF1d9F48386A16aD42768166",
"ProjectRegistryV1": "0x0849a4AeF33B1C2B083DfE4efD8eBe23C35e612B",
"MarketplaceV4": "0xca710199Fd00383cd7716bc3163e33A6B7D2C29C",
"ProjectStakingV1": "0x5c08f6Fb7B820ac73e83b4BdaCF5099231494f07",
"DataUnionFactory": "0x916FE6b8DB2C0D01FB96F37550CE8ff41F4Ed470",
"DataUnionTemplate": "0x5Aa81fB577a1765bb61E4841d958bDA75b5fa789"
"ENS": "0xEcB44c01B8D17E07C289533e6674b24c3C913183",
"FIFSRegistrar": "0x5c08f6Fb7B820ac73e83b4BdaCF5099231494f07",
"PublicResolver": "0x5Aa81fB577a1765bb61E4841d958bDA75b5fa789",
"TrackerRegistry": "0xdc5F6368cd31330adC259386e78604a5E29E9415",
"StorageNodeRegistry": "0x642D2B84A32A9A92FEc78CeAA9488388b3704898",
"StreamRegistry": "0x231b810D98702782963472e1D60a25496999E75D",
"ENSCacheV2": "0x6cCdd5d866ea766f6DF5965aA98DeCCD629ff222",
"StreamStorageRegistry": "0xCcc2CD65bbF6B2f62cEc8116A4d36CE043f13352",
"StreamrConfig": "0x3C841B9Aa08166e9B864972930703e878d25804B",
"DATA": "0xAf71Ee871ff1a374F88D6Ff01Cd618cE85127e78",
"SponsorshipMaxOperatorsJoinPolicy": "0xB9372284e0D61607aF3B7EF5f022e7D599Ed2a37",
"SponsorshipStakeWeightedAllocationPolicy": "0x36368Be8Cde49558Ab6ceEf2632984b282Db8775",
"SponsorshipDefaultLeavePolicy": "0xc24BA8c05E5206F1bE57bfA0aD14E9882126eD38",
"SponsorshipVoteKickPolicy": "0xBFCF120a8fD17670536f1B27D9737B775b2FD4CF",
"SponsorshipFactory": "0x57B81a9442805f88c4617B506206531e72d96290",
"OperatorDefaultDelegationPolicy": "0xbfa4EcF9d107De5720446e6dd8162ef6bf4b3873",
"OperatorDefaultPoolYieldPolicy": "0xF38aA4130AB07Ae1dF1d9F48386A16aD42768166",
"OperatorDefaultUndelegationPolicy": "0x5159FBF2e0Ff63e35b17293416fdf7a0909a0cDA",
"OperatorFactory": "0xfC31c70FafCbFe399195C789602ae2455B247fD2",
"ProjectRegistryV1": "0x01AC06E9F0D8179314483c1C6c6a565cd3A815f2",
"MarketplaceV4": "0x31fd21Fa58D0cE7D16f0e037EaA1BD5df77C58c5",
"ProjectStakingV1": "0xeBB974eeCB225B3A87C1939a5204AB9b5f2Ca794",
"DataUnionFactory": "0x4D563c20DB87a4EC4989607cD0Fdf4C95eD14d13",
"DataUnionTemplate": "0x8c1032014E7f14dECAD2b06f01215280C858c3Fe"
}

@@ -114,0 +115,0 @@ },

{
"version": "4.0.0",
"version": "4.0.1",
"name": "@streamr/config",

@@ -4,0 +4,0 @@ "description": "Zero dependency package that contains Streamr Network smart contract addresses",

@@ -17,3 +17,3 @@ # @streamr/config

```typescript
import * as config from "@streamr/config"
import { config } from "@streamr/config"

@@ -27,17 +27,5 @@ const {

}
} = config.Chains.load()
} = config
```
Find RPC endpoints:
```typescript
import * as config from "@streamr/config"
const chains: config.Chains = config.Chains.load()
const httpRpcEndpoints: RPCEndpoint[] = chains.ethereum.getRPCEndpointsByProtocol(config.RPCProtocol.HTTP)
const wsRpcEndpoints: RPCEndpoint[] = chains.ethereum.getRPCEndpointsByProtocol(config.RPCProtocol.WEBSOCKET)
```
### Other Languages
Other languages can read the [JSON file](./src/networks.json) directly.
## Development

@@ -44,0 +32,0 @@ ### Common Setup

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc