New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@owlprotocol/chains

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@owlprotocol/chains

Owl Protocol chain configs. Extends `viem` chain definitions with additional data and adds new chains.

  • 3.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Chains

Owl Protocol chain configs. Extends viem chain definitions with additional data and adds new chains.

Getting Chain Info

There are multiple sources to find interesting chain integrations:

Bridging Funds to Chains

Beyond just getting RPC info, getting funds onto the chain is also a requirement for launch. Once bridged, the only requirement is funding the utility account (varies between staging/production environments) which then manages distributing funds to necessary accounts (bundler, paymaster). You can use the following resources to get funds onto a chain:

Native Bridging

These bridges are chain-specific. Often Third-party bridges can be faster and cheaper but for testnets these are often the only option.

Third-Party Bridging

Firebase Chains Upload

To avoid the need to re-deploy services (eg. API, Dashboard), chain configurations are stored on Firebase as a way to dynamically update the data. Chains configs are stored under network for public configurations and networkPrivate for private server-side only configs that contain moderately sensitive information such as RPC API keys.

To upload chain data run the uploadNetworks script with the correct environment config.

npm run scripts:uploadNetworks # Local Firebase, usually not needed
NODE_ENV=staging npm run scripts:uploadNetworks # Staging
NODE_ENV=production npm run scripts:uploadNetworks # 🚨 Production 🚨

Chain Integration Checklist

Initial Research

  • Is it EVM equivalent?
  • Is it a particular rollup stack (OPStack, Arbitrum Orbit, ZKStack)?
  • Is Arachnid Deployer (0x4e59b44847b379578588920ca78fbf26c0b4956c) deployed? If not, is EIP-155 (replay protection) enforced (must NOT be to allow deployment)?
  • Is ERC4337 v0.7 deployed (0x0000000071727De22E5E9d8BAf0edAc6f37da032) ? This is more for informational purposes.
  • Is there a viem config?
  • Is there a private RPC provider (dRPC, Ankr, others)?

Configuration

  • Add chain config info
  • If OPStack chain, add parent chain config
  • Fund utility account or utility account on parent chain (if OPStack)

Upload & QA

  • Upload network config as "enabled" on staging Firebase
  • Test out NFT deploy by running dashboard locally but with staging env (see README on dashboard)
  • Upload network config as "enabled" on production Firebase
  • Test out NFT deploy on live production dashboard

Keywords

FAQs

Package last updated on 02 Oct 2024

Did you know?

Socket

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.

Install

Related posts

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