RepositoryRubyDEGermany
q9f

q9f/eth.rb

a straightforward library to build, sign, and broadcast ethereum transactions anywhere you can run ruby.

234stars
99forks
2issues
1views

🚀 Ethereum cho Ruby — Thư viện toàn diện xây dựng, ký, phát sóng giao dịch

Xây dựng, ký và phát sóng giao dịch Ethereum bằng Ruby — tách biệt quản lý khóa và nút.

eth.rb (hay còn gọi là eth gem) là một thư viện Ruby đơn giản nhưng mạnh mẽ, cho phép người dùng xây dựng, ký và phát sóng giao dịch Ethereum trên bất kỳ môi trường nào hỗ trợ Ruby. Được viết lại hoàn toàn từ phiên bản cũ bởi Afri Schoedon, đây là một dự án nguồn mở dựa trên giấy phép Apache 2.0, kết hợp cả ethereum.rb và ruby-ethereum-abi.

✨ Điểm nổi bật

  • Secp256k1 Key-Pairs & Keystore: Tạo cặp khóa và lưu trữ mã hóa theo chuẩn Ethereum.
  • EIP-55 Checksummed Addresses: Địa chỉ Ethereum có kiểm tra chữ hoa/thường.
  • EIP-155 Replay Protection: Bảo vệ chống phát lại giao dịch với Chain ID.
  • EIP-191 & EIP-712 Signed Messages: Ký tin nhắn và dữ liệu có kiểu (type data).
  • EIP-1559 Type-2 Transactions: Hỗ trợ giao dịch có phí ưu tiên và phí tối đa.
  • EIP-2718 Transaction Envelopes: Hỗ trợ nhiều dạng giao dịch (Type-1, Type-2, Type-3, Type-4).
  • EIP-4844 Type-3 & EIP-7702 Type-4: Hỗ trợ shard blobs và danh sách ủy quyền.
  • ABI Encoder/Decoder & RLP: Mã hóa/giải mã dữ liệu thông minh và RLP.
  • RPC Client (IPC/HTTP/WS): Kết nối đến nút Ethereum qua giao thức khác nhau.
  • Solidity Bindings & Smart Contract: Biên dịch, triển khai và giao tác với hợp đồng thông minh.

💡 Vì sao đáng chú ý

eth.rb không chỉ là một thư viện ký giao dịch — nó cung cấp một bộ công cụ đầy đủ để phát triển ứng dụng Ethereum bằng Ruby, từ quản lý khóa đến tương tác với smart contract. Đặc biệt, sự hỗ trợ rộng rãi các EIP hiện đại (bao gồm cả EIP-7702 mới nhất) giúp phát triển viên dễ dàng tích hợp các tính năng Ethereum hiện đại mà không cần phụ thuộc vào ngôn ngữ khác như JavaScript hay Python.


#Ethereum #Ruby #Blockchain #OpenSource #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryKotlin
ethereum-lists/chains

provides metadata for chains

9.8k
Nov 21, 2026
RepositoryPHP
Bit-Wasp/bitcoin-php

Bitcoin implementation in PHP

1.1k
Feb 25, 2026
RepositoryRust
unionlabs/union

The trust-minimized, zero-knowledge bridging protocol, designed for censorship resistance, extremely high security, and usage in decentralized finance.

73.7k
Jul 25, 2026
RepositoryGo
ethereum/go-ethereum

Go implementation of the Ethereum protocol

51.5k
Nov 20, 2026
RepositoryPython
ccxt/ccxt

A unified trading API with more than 100 crypto exchanges and prediction markets in JavaScript / TypeScript / Python / C# / PHP / Go / Java / Rust

45.0k
Nov 23, 2026
RepositorySolidity
OpenZeppelin/openzeppelin-contracts

OpenZeppelin Contracts is a library for secure smart contract development.

27.4k
Nov 18, 2026
RepositoryC++
argotorg/solidity

Solidity, the Smart Contract Programming Language

25.8k
Nov 19, 2026
Repository
ethereumbook/ethereumbook

Mastering Ethereum: 2nd Edition, by Andreas M. Antonopoulos, Gavin Wood, Carlo Parisi, Alessandro Mazza, Niccolò Pozzolini

21.5k
Oct 12, 2026
RepositoryRuby
rails/rails

Ruby on Rails

59.1k
Nov 21, 2026