This monorepo contains multiple packages for custom providers for Silent Data [Rollup], compatible with ethers.js and Hardhat plugins.
These packages offer several key features:
-
RPC Call Interception: Automatically intercepts RPC calls and appends necessary authentication headers, simplifying the integration process.
-
Ethers.js Compatibility: Seamlessly integrates with ethers.js, allowing developers to use familiar tools and patterns.
-
Multiple Provider Types: Supports various provider types, including basic usage, contract interaction, Fireblocks integration, and Hardhat compatibility.
-
Flexible Authentication: Transparently handles authentication, supporting both private key and Fireblocks-based methods.
-
Simplified Contract Interactions: Provides a
SilentDataRollupContract
class that streamlines interactions with smart contracts, automatically handling method signing when necessary. -
Network Abstraction: Offers a
NetworkName
enum to easily switch between different Silent Data [Rollup] networks (e.g., testnet, mainnet). -
Customizable Configuration: Allows developers to configure providers with custom RPC URLs, network settings, and authentication details.
These features make it easier for developers to integrate Silent Data [Rollup] into their Ethereum-based applications, handling the complexities of authentication and network interactions behind the scenes.
- Node.js (version 18 or higher)
- npm or yarn
- Basic knowledge of Ethereum and smart contracts
If you encounter any issues, please check the following:
- Ensure you're using the correct RPC URL for your desired network.
- Verify that your private key is correctly set and has sufficient funds.
- Ensure that your token is still active on the Silent Data AppChains dashboard.
- If using Fireblocks, validate your user and API keys.
This project is licensed under the MIT License.