SaaSHub helps you find the best software and product alternatives Learn more →
Top 18 bigint Open-Source Projects
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
constantine
Constantine: modular, high-performance, zero-dependency cryptography stack for proof systems and blockchain protocols.
-
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.
-
nim-stint
Stack-based arbitrary-precision integers - Fast and portable with natural syntax for resource-restricted devices.
-
jsbi-calculator
JSBI-Calculator is an IE11-compatible calculator utility to perform arbitrary (up to 18 decimals) arithmetic computation, with the help of JSBI-based BigDecimal.
-
PDOPlusPlus
A PHP single class PDO Wrapper : PDO++ (alias PPP) - CRUD - SP - BIGINT natively compatible
-
EUL
The mathEmatics Useful Library (the name is a work in progress) is a math general purpose c++20 header library that, among other things, features a big integer implementation. (by ThePirate42)
-
EsoMath.js
Esoteric Mathematic Library for Javascript (past names: more-math-for-JS, mostly_math, NTML.js)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: tRPC – Move Fast and Break Nothing. End-to-end typesafe APIs made easy | news.ycombinator.com | 2023-08-12DX for front or back end? The beauty of tRPC is that the types are derived/inferred from the backend runtime code (like, as you type). It would be nigh impossible to do that with grpc(-web) using proto files as the source of truth.
It's possible there's a project out there which could automatically produce proto files from something like zod, json-schema, etc. which could be directly interpreted by TS to provide similar (as you type) DX while still allowing some other language backend to consume the derived proto files (though the DX there would be less than ideal).
If you're just looking for similar TS clients/interfaces for grpc-web then I'd recommend https://github.com/timostamm/protobuf-ts which operates on plain JS objects (no new MyMessage().serialize(), instead the code generator mostly produces TS interfaces for you to work against: const myMessage: MyMessage = pojoConformingToInterface; const binary = MyMessage.toBinary(myMessage);)
Project mention: How to Implement and Deploy a Smart Contract Event Listener with AWS CDK | dev.to | 2023-11-19import 'dotenv/config'; import * as erc20abi from './abi.json'; import Web3, { Contract, WebSocketProvider } from 'web3'; /* Workaround for JSON.stringify() event logs with BigInt values. We need to stringify event logs for more readable logging in CloudWatch. https://github.com/GoogleChromeLabs/jsbi/issues/30 */ (BigInt.prototype as any).toJSON = function () { return this.toString(); }; /** * Starts the smart contract event listener. * Websocket Provider config: https://docs.web3js.org/api/web3-providers-ws/class/WebSocketProvider * @param chain - Name of the blockchain network for logging purposes. * @param wssEndpoint - Websocket endpoint for the blockchain network. * @param contractAddress - Smart contract address. */ const startEventListener = async (chain: string, wssEndpoint: string, contractAddress: string) => { const provider = new WebSocketProvider( wssEndpoint, {}, { autoReconnect: true, delay: 10000, // Default: 5000 ms maxAttempts: 10, // Default: 5 }, ); provider.on('connect', () => { console.log(`Connected to ${chain} websocket provider`); }); provider.on('disconnect', error => { console.error(`Closed ${chain} webSocket connection`, error); }); const web3 = new Web3(provider); /* Smart contract event listeners Listening to events: - Transfer - Approval */ const contract = new web3.eth.Contract(erc20abi, contractAddress); await subscribeToEvent(chain, contract, 'Transfer'); await subscribeToEvent(chain, contract, 'Approval'); }; /** * Subscribes to a smart contract event. * @param chain - Name of the blockchain network for logging purposes. * @param contract - Smart contract address. * @param eventName - Name of the event to subscribe to. */ const subscribeToEvent = async (chain: string, contract: Contract, eventName: string) => { const subscription = await contract.events[eventName](); subscription.on('connected', subscriptionId => { console.log(`${chain} USDT '${eventName}' SubID:`, subscriptionId); }); subscription.on('data', event => { console.log(`${chain} USDT '${eventName}'`, JSON.stringify({ event })); // cannot json.stringify BigInt... }); subscription.on('changed', event => { // Remove event from local database }); subscription.on('error', error => { console.error(`${chain} USDT '${eventName}' error:`, error); }); }; /* Start smart contract event listeners Chains: - Ethereum */ startEventListener('Ethereum', process.env.ETH_WSS_ENDPOINT!, process.env.ETH_SMART_CONTRACT_ADDRESS!);
Project mention: Structurae – data structures for high-performance JavaScript applications | news.ycombinator.com | 2023-07-04
Project mention: A beginner's guide to constant-time cryptography (2017) | news.ycombinator.com | 2024-02-22Percival cache attacks on Hyperthreading.
I go over some examples here: https://github.com/mratsim/constantine/issues/358#issuecomme...
Project mention: Money-fns: Type-safe and FP JavaScript Money library | news.ycombinator.com | 2023-08-20
bigint related posts
-
How to Implement and Deploy a Smart Contract Event Listener with AWS CDK
-
Stint (Stack-based multiprecision integers)
-
Error using JWT Authentication using GRPC Web in .net 7; postman works - typescript client does not authorize
-
BigInt support for Android without Hermes
-
Building a real-time bidding system with Socket.io and React Native
-
Connect-Web: ergonomic Protobuf & gRPC for browsers
-
Is there a GIMPS for Collatz conjecture?
-
A note from our sponsor - SaaSHub
www.saashub.com | 2 May 2024
Index
What are some of the best open-source bigint projects? This list will help you:
Project | Stars | |
---|---|---|
1 | protobuf-ts | 948 |
2 | jsbi | 891 |
3 | structurae | 679 |
4 | constantine | 254 |
5 | Swift-BigInt | 233 |
6 | safe-json-value | 206 |
7 | BigNumber | 173 |
8 | nim-stint | 77 |
9 | dashu | 71 |
10 | Fermat | 64 |
11 | proposal-bigint-math | 35 |
12 | varint | 35 |
13 | money-fns | 15 |
14 | jsbi-calculator | 9 |
15 | PDOPlusPlus | 8 |
16 | EUL | 6 |
17 | is-json-value | 5 |
18 | EsoMath.js | 3 |
Sponsored