
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@xyo-network/chain-network-model
Advanced tools
XYO Layer One API
@xyo-network/chain-network-model
Renames and re-exports LocalNetworkIconString
Renames and re-exports LocalNetworkIconString
@xyo-network/chain-network-model
function getNetworkNode(): Promise<MemoryNode<MemoryNodeParams, NodeModuleEventData>>;
Promise
<MemoryNode
<MemoryNodeParams
, NodeModuleEventData
>>
@xyo-network/chain-network-model
function getNetworkNodes(): Map<string, AttachableNodeInstance<NodeParams<AnyConfigSchema<NodeConfig>>, NodeModuleEventData>>;
Map
<string
, AttachableNodeInstance
<NodeParams
<AnyConfigSchema
<NodeConfig
>>, NodeModuleEventData
>>
@xyo-network/chain-network-model
function initNetworkNode(activeNetwork): Promise<AttachableNodeInstance<NodeParams<AnyConfigSchema<NodeConfig>>, NodeModuleEventData>>;
Promise
<AttachableNodeInstance
<NodeParams
<AnyConfigSchema
<NodeConfig
>>, NodeModuleEventData
>>
@xyo-network/chain-network-model
only for backward compatibility
optional chain: Lowercase<string>;
Chain Identifier - can be a hex (eth contract address) or a string
name: string;
Name of the chain
url: string;
Url for accessing the network
@xyo-network/chain-network-model
optional forkedAtLastBlockNumber: string;
Block Number at which the chain was forked from
optional forkedAtLastHash: string;
Hash in the last block the chain was forked from
optional forkedChainId: Lowercase<string>;
Address of the forked chain
@xyo-network/chain-network-model
optional chain: Lowercase<string>;
Chain Identifier - can be a hex (eth contract address) or a string
NetworkBootstrap.chain
name: string;
Name of the chain
NetworkBootstrap.name
url: string;
Url for accessing the network
NetworkBootstrap.url
optional forkedAtLastBlockNumber: string;
Block Number at which the chain was forked from
NetworkBootstrap.forkedAtLastBlockNumber
optional forkedAtLastHash: string;
Hash in the last block the chain was forked from
NetworkBootstrap.forkedAtLastHash
optional forkedChainId: Lowercase<string>;
Address of the forked chain
NetworkBootstrap.forkedChainId
description: string;
Description of the network
NetworkBootstrap.description
optional explorerUrl: string;
Url for accessing the network explorer
NetworkBootstrap.explorerUrl
optional icon: string;
string representation of the icon (svg)
NetworkBootstrap.icon
id: DefaultNetworkIds;
Machine-readable identifier
NetworkBootstrap.id
optional symbol: string;
Symbol of the network
NetworkBootstrap.symbol
custom: boolean;
@xyo-network/chain-network-model
Note: Optional Properties can be found walking the chain to the genesis block
optional chain: Lowercase<string>;
Chain Identifier - can be a hex (eth contract address) or a string
name: string;
Name of the chain
url: string;
Url for accessing the network
optional forkedAtLastBlockNumber: string;
Block Number at which the chain was forked from
ChainForkFields
.forkedAtLastBlockNumber
optional forkedAtLastHash: string;
Hash in the last block the chain was forked from
ChainForkFields
.forkedAtLastHash
optional forkedChainId: Lowercase<string>;
Address of the forked chain
description: string;
Description of the network
optional explorerUrl: string;
Url for accessing the network explorer
optional icon: string;
string representation of the icon (svg)
id: DefaultNetworkIds;
Machine-readable identifier
schema: "network.xyo.network.bootstrap";
optional symbol: string;
Symbol of the network
@xyo-network/chain-network-model
description: string;
Description of the network
optional explorerUrl: string;
Url for accessing the network explorer
optional icon: string;
string representation of the icon (svg)
id: DefaultNetworkIds;
Machine-readable identifier
schema: "network.xyo.network.bootstrap";
optional symbol: string;
Symbol of the network
@xyo-network/chain-network-model
type NetworkBootstrap = Payload<NetworkBootstrapFields, NetworkBootstrapSchema>;
@xyo-network/chain-network-model
type NetworkBootstrapSchema = typeof NetworkBootstrapSchema;
@xyo-network/chain-network-model
const DefaultNetworks: NetworkBootstrap[];
@xyo-network/chain-network-model
const LocalNetwork: NetworkBootstrap;
@xyo-network/chain-network-model
const LocalNetworkIconString: string;
@xyo-network/chain-network-model
const MainNetwork: NetworkBootstrap;
@xyo-network/chain-network-model
const NetworkBootstrapSchema: "network.xyo.network.bootstrap";
@xyo-network/chain-network-model
const SequenceNetwork: NetworkBootstrap;
@xyo-network/chain-network-model
const asOptionalNetwork: (value) => undefined | NetworkBootstrap;
AnyNonPromise
undefined
| NetworkBootstrap
@xyo-network/chain-network-model
const isNetworkBootstrap: (x?) => x is NetworkBootstrap;
unknown
x is NetworkBootstrap
See the LICENSE file for license details
FAQs
XYO Layer One API
The npm package @xyo-network/chain-network-model receives a total of 158 weekly downloads. As such, @xyo-network/chain-network-model popularity was classified as not popular.
We found that @xyo-network/chain-network-model demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.