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 🙏

© 2024 – Pkg Stats / Ryan Hefner

uncensored-sdk

v0.1.0

Published

SDK for enhancing censorship resistance of L2 transactions

Downloads

82

Readme

Uncensored SDK

Overview

Uncensored SDK is a powerful tool designed to enhance the censorship resistance of Layer 2 (L2) transactions. It enables users to transform L2 transactions into Layer 1 (L1) transaction format, allowing them to be sent directly to L1 RPCs. This bypasses potential censorship by L2 sequencers and leverages existing Force Inclusion mechanisms on various L2 chains.

Features

  • Transform L2 transactions to L1 format
  • Utilize existing Force Inclusion mechanisms on supported L2 chains
  • Easy integration with popular Ethereum libraries (ethers.js, viem)

Installation

npm install uncensored-sdk

Key Concepts

Censorship Resistance

Censorship resistance is crucial for blockchain networks. While Ethereum's L1 achieves this through numerous validators, L2 solutions often rely on centralized sequencers, making them potentially vulnerable to censorship.

Force Inclusion

Force Inclusion is a mechanism provided by some L2 networks that allows users to submit transactions directly to the L1 Rollup contract. Our SDK helps users leverage these existing mechanisms, ensuring L2 transactions can't be indefinitely censored by sequencers.

Delayed Execution

To maintain consistency and prevent conflicts, forced transactions typically don't execute immediately on L2 networks. Instead, they enter a "pending" state, giving sequencers a chance to include them in the next batch. If a sequencer consistently refuses to include these transactions, they can be forcibly included after a set time period.

Supported Networks

  • [List of supported L2 networks and their corresponding L1]

Usage

[Basic usage examples will be added here in future updates]

Advanced Features

  • Transaction status monitoring
  • Automated Force Inclusion triggering
  • Gas estimation for L1 force transactions

Contributing

We welcome contributions! Please see our Contributing Guide for more details.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

If you encounter any issues or have questions, please file an issue on our GitHub repository.


By using Uncensored SDK, you're contributing to a more censorship-resistant and decentralized ecosystem. We believe in the power of open, accessible blockchain networks and are committed to providing tools that uphold these values.