solidity-stringutils VS openzeppelin-contracts

Compare solidity-stringutils vs openzeppelin-contracts and see what are their differences.

solidity-stringutils

Basic string utilities for Solidity (by Arachnid)

openzeppelin-contracts

OpenZeppelin Contracts is a library for secure smart contract development. (by OpenZeppelin)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
solidity-stringutils openzeppelin-contracts
3 234
1,114 24,109
- 1.7%
3.6 9.5
8 months ago 5 days ago
Solidity JavaScript
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

solidity-stringutils

Posts with mentions or reviews of solidity-stringutils. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-22.
  • Could anyone help a soliditynoob out? Getting error: reverted
    2 projects | /r/solidity | 22 Jul 2022
    // SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.7.0 <0.9.0; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/math/SafeMath.sol"; import "https://github.com/Arachnid/solidity-stringutils/blob/master/src/strings.sol"; contract hangMan { string [] arrayTestOutput = ["f", "o", "o", "-", "-", "-"]; string [] finalWord; string failedGuess = "-"; bool public functionActivated; function showStats() public { uint x = (arrayTestOutput.length);
  • Split a string to an array of strings with one letter / string?
    1 project | /r/solidity | 11 Jul 2022
    Hello. As the title says, Working on a project where I need to split all the letters in a string into separate strings in an array. I have imported this library that does something similar, but It wants a character to split by ( for example "-" or " "). I've been thinking about this for a long time but I can't for the life of me figure out how to fix this. Anyone here have any tips or knowledge how I can achieve this? Also if its possible to do in one function instead of 2 as I have been trying with now that would be super nice. So all in all, I want one function that makes the user write a string, that will be divided into an array of strings for each letter of the input. Thanks in advance.
  • Slicing a string at a specific point
    1 project | /r/solidity | 28 Sep 2021
    I found a helpful library that seems to do the trick (I've kind of incorporated below). I'm coming from Python so have been thinking about this in a pythonic way -- My logic (still early in thinking about this) goes something like this:

openzeppelin-contracts

Posts with mentions or reviews of openzeppelin-contracts. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-27.

What are some alternatives?

When comparing solidity-stringutils and openzeppelin-contracts you can also consider the following projects:

solmate - Modern, opinionated, and gas optimized building blocks for smart contract development.

hardhat - Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software.

ERC721A - https://ERC721A.org

Safemoon.sol - safemoon contract

solidity - Solidity, the Smart Contract Programming Language

truffle - :warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.

poap-contracts - The Proof of Attendance Protocol Ethereum contracts

openzeppelin-solidity - OpenZeppelin Contracts is a library for secure smart contract development. [Moved to: https://github.com/OpenZeppelin/openzeppelin-contracts]

matic-gas-prices - Displays current gas prices on the Polygon (MATIC) network.

metamask-extension - :globe_with_meridians: :electric_plug: The MetaMask browser extension enables browsing Ethereum blockchain enabled websites

remix-ide - Documentation for Remix IDE

EIPs - The Ethereum Improvement Proposal repository