awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
transmissions11 avatar

transmissions11/solmate

0
View on GitHub↗
4,288 星标·710 分支·Solidity·2 次浏览

Solmate

Solmate 是一个用于在 Solana 区块链上开发安全高效智能合约的 Gas 优化构建块和库集合。它提供了一套标准化工具,包括用于管理用户角色和所有权的角色访问控制框架、用于十进制和有符号整数计算的高精度定点数学库,以及用于验证数据包含的 Merkle 证明验证器。

该项目提供用于发行和转移同质化及非同质化代币的安全代币实现。这些实现包括防止资产转移期间静默失败的安全检查,以及用于金库和封装资产变体的 Gas 高效模板。

该库涵盖了更广泛的能力领域,包括确定性合约部署、通过类型转换进行链上数据管理,以及重入保护等智能合约安全措施。它还利用优化的存储模式来减少执行开销和状态更新成本。

Features

  • Solana Smart Contract Development - Offers a suite of gas-optimized building blocks specifically for developing efficient Solana smart contracts.
  • Token Implementations - Provides standardized, gas-efficient implementations of fungible and non-fungible token contracts.
  • Digital Token Issuance - Provides optimized implementations for issuing fungible and non-fungible digital tokens.
  • On-Chain Data Management - Implements high-precision fixed-point math and type conversions for efficient on-chain data management.
  • Safe Token Transfer Wrappers - Executes asset transfers with explicit verification of return values to prevent silent failures in non-standard tokens.
  • Fixed-Point Arithmetic Libraries - Provides high-precision fixed-point arithmetic libraries for performing decimal calculations in smart contracts.
  • Access Control Frameworks - Provides a comprehensive framework for managing authentication and authorization for blockchain contracts.
  • Reentrancy Guards - Provides mechanisms that lock contract state during execution to prevent recursive function calls.
  • Merkle Proof Verifiers - Provides a Merkle proof verifier for validating data inclusion to reduce on-chain storage requirements.
  • Role-Based Access Control - Implements a system for managing user permissions and defining access levels based on assigned administrative roles.
  • Role-Based Access Control Systems - Implements a role-based access control system for managing user permissions and administrative ownership.
  • Token Transfer Safety - Validates token transfers with explicit checks to prevent asset loss in non-standard token implementations.
  • Smart Contract Access Controls - Provides a framework for managing roles and ownership permissions within smart contracts.
  • Contract Ownership Restriction - Restricts critical contract functions to a single authorized owner to maintain administrative control.
  • Secure Smart Contract Development - Provides secure development patterns including reentrancy guards and safe transfer wrappers.
  • Smart Contract Libraries - Provides a modular library of gas-optimized building blocks for Solana smart contract composition.
  • Token Standard Implementations - Implements gas-efficient templates for both fungible and non-fungible token standards.
  • Storage Optimization Utilities - Offers tools for packing data and managing storage slots to minimize gas consumption during state updates.
  • On-Chain Storage Optimizations - Implements efficient methods to read and write persistent data to storage slots, bypassing standard state variable overhead.
  • Deterministic Deployment - Enables creation of contracts at predictable addresses regardless of bytecode using precomputation.
  • Merkle Tree Utilities - Ships implementations of Merkle tree structures for cryptographic verification of data inclusion.
  • Deterministic Address Calculation - Implements methods for precomputing contract addresses using salts to ensure consistent deployment across networks.
  • Storage Packing - Combines multiple small values into single storage slots to optimize gas usage and state updates.
  • Smart Contract Development Utilities - Offers a collection of gas-optimized building blocks and utilities to reduce execution costs.
  • On-Chain Inclusion Proofs - Implements hash-based verification to validate data membership using Merkle proofs and stored roots.

Star 历史

transmissions11/solmate 的 Star 历史图表transmissions11/solmate 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

transmissions11/solmate 是做什么的?

Solmate 是一个用于在 Solana 区块链上开发安全高效智能合约的 Gas 优化构建块和库集合。它提供了一套标准化工具,包括用于管理用户角色和所有权的角色访问控制框架、用于十进制和有符号整数计算的高精度定点数学库,以及用于验证数据包含的 Merkle 证明验证器。

transmissions11/solmate 的主要功能有哪些?

transmissions11/solmate 的主要功能包括:Solana Smart Contract Development, Token Implementations, Digital Token Issuance, On-Chain Data Management, Safe Token Transfer Wrappers, Fixed-Point Arithmetic Libraries, Access Control Frameworks, Reentrancy Guards。

transmissions11/solmate 有哪些开源替代品?

transmissions11/solmate 的开源替代品包括: openzeppelin/openzeppelin-contracts — OpenZeppelin Contracts is a library of modular, secure, and reusable smart contract components designed for the… openzeppelin/zeppelin-solidity — This project is a Solidity smart contract library providing a collection of audited, reusable templates and building… rari-capital/solmate — Solmate is a Solana program framework and smart contract library providing gas-optimized blockchain primitives. It… vyperlang/vyper — Vyper is a security-focused, typed programming language and compiler designed for creating smart contracts that… mystenlabs/sui — Sui is a blockchain platform featuring an object-centric state model and resource-oriented smart contracts. It… ethereumbook/ethereumbook — This project serves as a comprehensive technical reference and educational platform for the Ethereum ecosystem. It…

Solmate 的开源替代方案

相似的开源项目,按与 Solmate 的功能重合度排序。
  • openzeppelin/openzeppelin-contractsOpenZeppelin 的头像

    OpenZeppelin/openzeppelin-contracts

    27,157在 GitHub 上查看↗

    OpenZeppelin Contracts is a library of modular, secure, and reusable smart contract components designed for the development of decentralized applications. It provides a foundational framework for building standard-compliant contracts, offering battle-tested implementations for token standards, access control, and common utility patterns. The project distinguishes itself through its comprehensive support for complex architectural patterns, including proxy-based upgradeability, role-based access control, and account abstraction. It enables developers to implement modular logic injection via hoo

    Solidityethereumevmsecurity
    在 GitHub 上查看↗27,157
  • openzeppelin/zeppelin-solidityOpenZeppelin 的头像

    OpenZeppelin/zeppelin-solidity

    27,167在 GitHub 上查看↗

    This project is a Solidity smart contract library providing a collection of audited, reusable templates and building blocks for developing secure blockchain applications on the Ethereum Virtual Machine. It serves as a foundational toolkit for smart contract development, encompassing a secure mathematical library, role-based access frameworks, and reference implementations of industry-standard token specifications. The library focuses on reducing security risks through community-vetted contract components and audited templates. It provides specific implementations for creating fungible and non

    Solidity
    在 GitHub 上查看↗27,167
  • rari-capital/solmateRari-Capital 的头像

    Rari-Capital/solmate

    4,283在 GitHub 上查看↗

    Solmate is a Solana program framework and smart contract library providing gas-optimized blockchain primitives. It serves as a development kit for implementing SPL tokens and secure access control systems on the Solana blockchain. The project focuses on reducing compute unit usage and transaction costs through resource-efficient building blocks. It provides standardized components for token logic, balance tracking, and authorization primitives designed to restrict sensitive smart contract functions. The framework employs opinionated patterning and primitive-based composition to structure pro

    Solidity
    在 GitHub 上查看↗4,283
  • vyperlang/vypervyperlang 的头像

    vyperlang/vyper

    5,180在 GitHub 上查看↗

    Vyper is a security-focused, typed programming language and compiler designed for creating smart contracts that execute on the Ethereum Virtual Machine. It utilizes a Pythonic syntax to define contract logic and state, serving as a target for formal verification to allow for machine-checked proofs of correctness. The language distinguishes itself through strict architectural constraints that prioritize predictability and security. It enforces acyclic call graphs by prohibiting recursion and mandates bounded loops to ensure static gas prediction. Additionally, it features a native fixed-point

    Pythonethereumethereum-dapplanguage
    在 GitHub 上查看↗5,180
  • 查看 Solmate 的所有 30 个替代方案→