Skip to content

Latest commit

 

History

History
 
 

selected-network-controller

@metamask/selected-network-controller

Provides an interface to the currently selected networkClientId for a given domain.

Domain here means one of two things:

  • the jsonrpc request originated from a dapp (domain is the origin/url of the dapp)
  • the jsonrpc request originated interally to metamask (the domain is here is 'metamask')

Installation

yarn add @metamask/selected-network-controller

or

npm install @metamask/selected-network-controller

Contributing

This package is part of a monorepo. Instructions for contributing can be found in the monorepo README.