How I built a calculator with SOLIDITY

This page summarizes the projects mentioned and recommended in the original post on /r/SolidityScan

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • string-utils-lib

  • This new internet promises to be an exciting tech revolution, and i very much want to be a part of it, this conviction put me on a journey to learn the tools and technologies needed to partake in this revolution. Having been a programmer and a software developer with over 5 years of experience, i said to myself 'This would be easy' before embarking on this amazing journey. Indeed it was, has, and has continued to be easy, but new worlds don't come without suprises. While learning solidity, i told myself that one of the projects that i'm going to test the 'New Internet' with would be a calculator, funny right? With all the possible uses of Solidity, why would one choose to build a calculator? Well i thought to myself, if really this is the new internet i should be able to build solutions with it, and this calculator would be a very good place to start. Having built it countless times with other programming languages, How hard could it be? I was in for a new revelation. As it happens, Solidity does not come pre-built with string manipulation tools, and for my calculator to work, i would need to manipulate strings. How did i solve this you may ask, by building a string utils library, i call string utils lib (the library is open source, and is on my github. You can install into your next Solidity project). This library contains all that is needed for manipulating strings. With this library done, i was two steps closer to creating the calculator. The next step was to create an array utils library as my algorithm would also need to manipulate arrays, another thing that solidity doesn't provide, i call the library array utils lib (the library is open source, and is on my github. You can install into your next Solidity project). This library contains all that is needed for manipulating arrays. For my algorithm to work, i finally needed to evaluate the strings typed or sent to the Solidit calculator. With Javascript, i could just call eval(), and pass the arithmetic string to evalute into the function, but you guessed it, i would also have to build this library, and so i did and called it eval utils lib (the library is open source, and is on my github. You can install into your next Solidity project). This library only has one open function, and that is the evalute() function, which takes in the arithmetic string, and evalutes it, then returns a uint256 result, and there is my calculator. Finally i created the calculator project, and installed all these libraries into it. The only thing i did was to receive the string to evalute from the msg.sender, and then use the evalute() function on the string. This was such an inspiring journey, as is sometimes said, it is not just about the end, but the journey as well. I hope any Solidity expert, or prospective developer reading this would enjoy using these libraries in their projects. You can clone the calculator repository from my Github. Thanks for listening

  • array-utils-lib

  • This new internet promises to be an exciting tech revolution, and i very much want to be a part of it, this conviction put me on a journey to learn the tools and technologies needed to partake in this revolution. Having been a programmer and a software developer with over 5 years of experience, i said to myself 'This would be easy' before embarking on this amazing journey. Indeed it was, has, and has continued to be easy, but new worlds don't come without suprises. While learning solidity, i told myself that one of the projects that i'm going to test the 'New Internet' with would be a calculator, funny right? With all the possible uses of Solidity, why would one choose to build a calculator? Well i thought to myself, if really this is the new internet i should be able to build solutions with it, and this calculator would be a very good place to start. Having built it countless times with other programming languages, How hard could it be? I was in for a new revelation. As it happens, Solidity does not come pre-built with string manipulation tools, and for my calculator to work, i would need to manipulate strings. How did i solve this you may ask, by building a string utils library, i call string utils lib (the library is open source, and is on my github. You can install into your next Solidity project). This library contains all that is needed for manipulating strings. With this library done, i was two steps closer to creating the calculator. The next step was to create an array utils library as my algorithm would also need to manipulate arrays, another thing that solidity doesn't provide, i call the library array utils lib (the library is open source, and is on my github. You can install into your next Solidity project). This library contains all that is needed for manipulating arrays. For my algorithm to work, i finally needed to evaluate the strings typed or sent to the Solidit calculator. With Javascript, i could just call eval(), and pass the arithmetic string to evalute into the function, but you guessed it, i would also have to build this library, and so i did and called it eval utils lib (the library is open source, and is on my github. You can install into your next Solidity project). This library only has one open function, and that is the evalute() function, which takes in the arithmetic string, and evalutes it, then returns a uint256 result, and there is my calculator. Finally i created the calculator project, and installed all these libraries into it. The only thing i did was to receive the string to evalute from the msg.sender, and then use the evalute() function on the string. This was such an inspiring journey, as is sometimes said, it is not just about the end, but the journey as well. I hope any Solidity expert, or prospective developer reading this would enjoy using these libraries in their projects. You can clone the calculator repository from my Github. Thanks for listening

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • eval-utils-lib

  • This new internet promises to be an exciting tech revolution, and i very much want to be a part of it, this conviction put me on a journey to learn the tools and technologies needed to partake in this revolution. Having been a programmer and a software developer with over 5 years of experience, i said to myself 'This would be easy' before embarking on this amazing journey. Indeed it was, has, and has continued to be easy, but new worlds don't come without suprises. While learning solidity, i told myself that one of the projects that i'm going to test the 'New Internet' with would be a calculator, funny right? With all the possible uses of Solidity, why would one choose to build a calculator? Well i thought to myself, if really this is the new internet i should be able to build solutions with it, and this calculator would be a very good place to start. Having built it countless times with other programming languages, How hard could it be? I was in for a new revelation. As it happens, Solidity does not come pre-built with string manipulation tools, and for my calculator to work, i would need to manipulate strings. How did i solve this you may ask, by building a string utils library, i call string utils lib (the library is open source, and is on my github. You can install into your next Solidity project). This library contains all that is needed for manipulating strings. With this library done, i was two steps closer to creating the calculator. The next step was to create an array utils library as my algorithm would also need to manipulate arrays, another thing that solidity doesn't provide, i call the library array utils lib (the library is open source, and is on my github. You can install into your next Solidity project). This library contains all that is needed for manipulating arrays. For my algorithm to work, i finally needed to evaluate the strings typed or sent to the Solidit calculator. With Javascript, i could just call eval(), and pass the arithmetic string to evalute into the function, but you guessed it, i would also have to build this library, and so i did and called it eval utils lib (the library is open source, and is on my github. You can install into your next Solidity project). This library only has one open function, and that is the evalute() function, which takes in the arithmetic string, and evalutes it, then returns a uint256 result, and there is my calculator. Finally i created the calculator project, and installed all these libraries into it. The only thing i did was to receive the string to evalute from the msg.sender, and then use the evalute() function on the string. This was such an inspiring journey, as is sometimes said, it is not just about the end, but the journey as well. I hope any Solidity expert, or prospective developer reading this would enjoy using these libraries in their projects. You can clone the calculator repository from my Github. Thanks for listening

  • solidity-calculator-app

  • This new internet promises to be an exciting tech revolution, and i very much want to be a part of it, this conviction put me on a journey to learn the tools and technologies needed to partake in this revolution. Having been a programmer and a software developer with over 5 years of experience, i said to myself 'This would be easy' before embarking on this amazing journey. Indeed it was, has, and has continued to be easy, but new worlds don't come without suprises. While learning solidity, i told myself that one of the projects that i'm going to test the 'New Internet' with would be a calculator, funny right? With all the possible uses of Solidity, why would one choose to build a calculator? Well i thought to myself, if really this is the new internet i should be able to build solutions with it, and this calculator would be a very good place to start. Having built it countless times with other programming languages, How hard could it be? I was in for a new revelation. As it happens, Solidity does not come pre-built with string manipulation tools, and for my calculator to work, i would need to manipulate strings. How did i solve this you may ask, by building a string utils library, i call string utils lib (the library is open source, and is on my github. You can install into your next Solidity project). This library contains all that is needed for manipulating strings. With this library done, i was two steps closer to creating the calculator. The next step was to create an array utils library as my algorithm would also need to manipulate arrays, another thing that solidity doesn't provide, i call the library array utils lib (the library is open source, and is on my github. You can install into your next Solidity project). This library contains all that is needed for manipulating arrays. For my algorithm to work, i finally needed to evaluate the strings typed or sent to the Solidit calculator. With Javascript, i could just call eval(), and pass the arithmetic string to evalute into the function, but you guessed it, i would also have to build this library, and so i did and called it eval utils lib (the library is open source, and is on my github. You can install into your next Solidity project). This library only has one open function, and that is the evalute() function, which takes in the arithmetic string, and evalutes it, then returns a uint256 result, and there is my calculator. Finally i created the calculator project, and installed all these libraries into it. The only thing i did was to receive the string to evalute from the msg.sender, and then use the evalute() function on the string. This was such an inspiring journey, as is sometimes said, it is not just about the end, but the journey as well. I hope any Solidity expert, or prospective developer reading this would enjoy using these libraries in their projects. You can clone the calculator repository from my Github. Thanks for listening

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Building an Escrow Smart Contract

    1 project | dev.to | 28 Apr 2024
  • Interacting with Smart Contracts using ethers.js

    1 project | dev.to | 25 Apr 2024
  • Show HN: Burn ETH, mint BURNTH, a contract-less privacy solution on Ethereum

    1 project | news.ycombinator.com | 6 Mar 2024
  • Noir on Scroll

    1 project | dev.to | 6 Feb 2024
  • Karma: An ERC20-compatible Reputation-based Money on the Ethereum Blockchain

    1 project | dev.to | 29 Dec 2023