All Projects → thehubbleproject → hubble-contracts

thehubbleproject / hubble-contracts

Licence: MIT license
Hubble optimistic rollup

Programming Languages

typescript
32286 projects
solidity
1140 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to hubble-contracts

zksync-dapp-checkout
zkCheckout — trustable permissionless DeFi payment gateway. Brand new zkSync dApp w/t all L2 perks: fast&cheap transfers / simple&quick withdrawal
Stars: ✭ 37 (-63.73%)
Mutual labels:  rollup
rollup-plugin-lit-css
Moved to https://github.com/bennypowers/lit-css
Stars: ✭ 35 (-65.69%)
Mutual labels:  rollup
react-library-starter
A library starter kit and bundler for your React projects, powered by Rollup. ⚡
Stars: ✭ 22 (-78.43%)
Mutual labels:  rollup
rollup-plugin-generate-package-json
Generate package.json file with packages from your bundle using Rollup
Stars: ✭ 29 (-71.57%)
Mutual labels:  rollup
nativescript-vue-rollup-template
A NativeScript template ready to roll with Vue.js and .vue files.
Stars: ✭ 39 (-61.76%)
Mutual labels:  rollup
angular2-pokedex
A Pokedex built on Angular with AoT, Tree Shaking, Rollup and TypeScript
Stars: ✭ 34 (-66.67%)
Mutual labels:  rollup
rollup-plugin-glob-import
A rollup plugin to use glob-star.
Stars: ✭ 18 (-82.35%)
Mutual labels:  rollup
bundle
An online tool to quickly bundle & minify your projects, while viewing the compressed gzip/brotli bundle size, all running locally on your browser.
Stars: ✭ 475 (+365.69%)
Mutual labels:  rollup
fliphub
the easiest app builder
Stars: ✭ 30 (-70.59%)
Mutual labels:  rollup
howdyjs
一个包含Javascript插件、Vue3组件、Vue3指令的工具库
Stars: ✭ 77 (-24.51%)
Mutual labels:  rollup
rollup-plugin-html
Import HTML files as strings in rollup build
Stars: ✭ 36 (-64.71%)
Mutual labels:  rollup
rollit
🌯 Zero config js library bundling using rollup with support for Vue
Stars: ✭ 24 (-76.47%)
Mutual labels:  rollup
mark.js
mark.js用于标记选中的文字,自定义插入标签
Stars: ✭ 27 (-73.53%)
Mutual labels:  rollup
apex-rollup
Fast, configurable, elastically scaling custom rollup solution. Apex Invocable action, one-liner Apex trigger/CMDT-driven logic, and scheduled Apex-ready.
Stars: ✭ 133 (+30.39%)
Mutual labels:  rollup
web-config
A Rollup configuration to build modern web applications with sweet features as for example SCSS imports, Service Worker generation with Workbox, Karma testing, live reloading, coping resources, chunking, treeshaking, Typescript, license extraction, filesize visualizer, JSON import, budgets, build progress, minifying and compression with brotli a…
Stars: ✭ 17 (-83.33%)
Mutual labels:  rollup
rollup-plugin-inject-process-env
Inject environment variables in process.env with Rollup
Stars: ✭ 48 (-52.94%)
Mutual labels:  rollup
motion-hooks
A simple Hooks wrapper over Motion One, An animation library, built on the Web Animations API for the smallest filesize and the fastest performance.
Stars: ✭ 93 (-8.82%)
Mutual labels:  rollup
trample
A Web/Node General Utils Library
Stars: ✭ 36 (-64.71%)
Mutual labels:  rollup
rollup-plugin-external-globals
Transform external imports into global variables like output.globals.
Stars: ✭ 57 (-44.12%)
Mutual labels:  rollup
ontwik-ui
ontwik-ui - A headless UI library
Stars: ✭ 52 (-49.02%)
Mutual labels:  rollup

Hubble Optimistic Rollup Contracts & NodeJS TypeScript Client (Node)

Node.js CI

About Hubble

Hubble is an ERC-20 token transfer solution that improves Ethereum throughput from 20 transactions per second to ~2700.

How it works

Accounts submit transfers to a coordinator node who then submits transactions and the state root of the balance updates to an Ethereum smart contract (Rollup.sol).

How does this improve throughput?

The contract does not validate either the correctness of the balance updates or the authenticity of the sender.

What if the coordinator submits incorrect balance updates?

Anyone can trigger the dispute methods of the contract and penalize the coordinator by burning the assets they staked beforehand. The contract rolls back to the last state when the balances were correct.

How is it different from other Layer 2 (L2) Ethereum projects?

  • Optimism: Hubble does not support the EVM virtual machine, ... yet.
  • ZK (zero knowledge proof) rollups: Both improve throughput but Hubble is ZK free. No zero-knowledge moon math, only boring EVM at work.
  • ZK optimistic rollups: Hubble does not address privacy.

Hubble has the highest throughput compared with the above, since:

  • Hubble use BLS signature aggregation to reduce the size to store data on chain.
  • We optimize for simple token transfers.

What else can Hubble do

Mass Migration

Users can migrate their tokens to other L2 solutions without withdrawing to and depositing from Layer 1 (L1) again.

Create2Transfer

Users can onboard accounts to Hubble without going through L1. The coordinator can register their public keys and then they can acquire tokens from holders who are already in the Hubble L2.

Local Development

Local Development Setup

Node Operator

Node Operator

Docker

https://hub.docker.com/r/thehubbleproject/node

docker pull thehubbleproject/node:latest
# or for a specific release, ...:v0.x.y

See Docker instructions.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].