npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

bitcoin-computer

v0.16.0-beta.1

Published

Lightweight Smart Contracts for Bitcoin and Litecoin

Downloads

62

Readme

A smart contract system for UTXO-based blockchains. Key features:

  • Smart contract programming in Javascript and Typescript
  • Very low fees through client-side validation
  • Built-in privacy through encryption
  • Optional encrypted off-chain storage for efficient block space usage
  • ES6 compliant module system
  • Does not rely on a side-chain
  • Support for Litecoin with support for Bitcoin and Dogecoin coming soon.

With the Bitcoin Computer, you can build decentralized applications. Examples include fungible and non-fungible tokens, exchanges, games, office applications, social networks, messengers, AI-based applications, and much more.

NEW experimental support for ordinals was added in version 0.14.

Getting Started

To clone this monorepo and install the dependencies, run

npx bitcoin-computer

Examples

The examples are in the packages folder. To run an example look at the README.md file in the corresponding folder.

Applications

  • Wallet: A minimal non-custodial wallet
  • Chat: A p2p chat application where messages are communicated over the blockchain
  • Fungible Token: An application for minting, sending, and storing fungible tokens
  • Non Fungible Token: An application for minting, sending, and storing non-fungible tokens (NFTs)

Standard Smart Contracts

Templates

Core Library

The core smart contract library is based on two packages:

Versioning

If you run your own node, make sure to use the same versions of Lib and Node.

We provide a free Bitcoin Computer Node on Litecoin testnet so you can try out Lib without having to run a node. This node always runs the latest version.

Price

It is free to develop and test a Bitcoin Computer application on testnet and regtest.

We charge a small fee on mainnet to support the development of the Bitcoin Computer. The fee for a function call is satoshis per byte * 475 (average transaction size). The fee for deploying a module is satoshis per byte * data size * 1/4 (making use of the segwit discount). The programer can configure satoshis per byte.

Development Status

We have completed two internal audits and addressed any discovered issues. Currently, there are no known security vulnerabilities, however, it is possible that unknown vulnerabilities may exist. We plan to conduct one more thorough internal security audit prior to recommending the usage of the Bitcoin Computer in production environments.

Documentation and Help

Have a look at the Bitcoin Computer Docs.

If you have any questions, please let us know in our Telegram group, on Twitter, or by email [email protected].

License

Bitcoin Computer Lib and Bitcoin Computer Node are licensed under the Creative Commons Attribution-NoDerivs 3.0 Unported License. All other packages in this monorepo are licensed under the MIT License. See the individual packages for more information.