npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@appliedblockchain/silentdatarollup-ethers-provider-fireblocks

v1.0.1

Published

Ethers.js provider for Silent Data [Rollup] with Fireblocks integration

Downloads

118

Readme

Silent Data [Rollup] Providers - Ethers Provider Fireblocks Package

Table of Contents

Introduction

Custom providers for Silent Data [Rollup], compatible with ethers.js for Fireblocks integration.

Prerequisites

  • Node.js (version 18 or higher)
  • npm
  • Basic knowledge of Ethereum and smart contracts
  • Ethers.js v6

Integration

Fireblocks Integration

Installing Fireblocks Integration Dependencies

npm install @appliedblockchain/silentdatarollup-core @appliedblockchain/silentdatarollup-ethers-provider-fireblocks ethers@6 @fireblocks/fireblocks-web3-provider

Fireblocks Integration Example

import {
  ApiBaseUrl,
  ChainId,
  FireblocksWeb3Provider,
} from '@fireblocks/fireblocks-web3-provider'
import {
  BaseConfig,
  SilentDataRollupContract,
} from '@appliedblockchain/silentdatarollup-core'
import { SilentDataRollupFireblocksProvider } from '@appliedblockchain/silentdatarollup-ethers-provider-fireblocks'

const RPC_URL = 'SILENT_DATA_ROLLUP_RPC_URL'

const eip1193Provider = new FireblocksWeb3Provider({
  privateKey: 'FIREBLOCKS_PATH_TO_PRIVATE_KEY',
  apiKey: 'FIREBLOCKS_API_KEY',
  vaultAccountIds: 'FIREBLOCKS_VAULT_ACCOUNT_ID',
  assetId: ASSETS[ChainId.SEPOLIA].assetId,
  chainId: ChainId.SEPOLIA,
  apiBaseUrl: ApiBaseUrl.Sandbox, // If using a sandbox workspace
  rpcUrl: 'SILENT_DATA_ROLLUP_RPC_URL',
})

const silentdataOptions: BaseConfig = {
  authSignatureType: SignatureType.EIP712, // Optional, defaults to RAW
  delegate: true, // Optional, defaults to false
}

const provider = new SilentDataRollupFireblocksProvider({
  ethereum: eip1193Provider,
  silentdataOptions,
})
const balance = await provider.getBalance('YOUR_ADDRESS')
console.log(balance)

const contractConfig = {
  contractAddress: 'YOUR_CONTRACT_ADDRESS'
  abi: [ /* Your contract ABI */ ],
  runner: signer,
  methodsToSign: ['method1', 'method2'] // Contract read calls that require signing
}

const contract = new SilentDataRollupContract(contractConfig)

// Now you can call "private" contract methods. These calls will be signed,
// and msg.sender will be available in the contract, representing the signer's address.
const privateMethodResult = await contract.method1('param1', 'param2')
console.log('Private method result:', privateMethodResult)

// You can also call methods that don't require signing.
// These calls won't include a signature, and msg.sender won't be available in the contract.
const publicMethodResult = await contract.method3('param1', 'param2')
console.log('Public method result:', publicMethodResult)

Note: The SilentDataRollupFireblocksProvider adds an additional namespace on top of the Fireblocks provider for debugging purposes. This namespace is the same as the Fireblocks namespace with an additional :silentdata-interceptor suffix. For example, if the Fireblocks namespace is fireblocks:web3-provider, the SilentData provider's namespace would be fireblocks:web3-provider:silentdata-interceptor.

To enable debugging for the SilentData interceptor, you can set the following environment variable:

DEBUG=fireblocks:web3-provider:silentdata-interceptor

This will output debug information specific to the SilentData interceptor, helping you troubleshoot issues related to the Silent Data [Rollup] integration with Fireblocks.

Troubleshooting

If you encounter any issues, please check the following:

  1. Ensure you're using the correct RPC URL for your desired network.
  2. Verify that the Fireblocks configuration is correctly set up and ensure your user and API keys are valid.
  3. Ensure that your token is active on the SilentData AppChains dashboard.

License

This project is licensed under the MIT License.

Additional Resources