New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bitcoin-computer/bitcoin-computer

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bitcoin-computer/bitcoin-computer

Smart Contracts on Bitcoin

  • 0.1.5
  • unpublished
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Bitcoin|Computer

Bitcoin|Computer is a platform for running smart contracts on Bitcoin. It is based on the following principles

  • Simplicity. Smart contracts are vanilla Javascript programs. If you know how to use Javascript you know how to use the Bitcoin|Computer
  • Scalability. The cost of running a smart contract is independent of the computational work required. This allows you to run smart contracts that would cost millions on other platform at the cost of sending a payment.
  • Freedom. Bitcoin|Computer works on Bitcoin*, Bitcoin Cash, Bitcoin SV*, LiteCoin*, and Dogecoin*. We don't tell you what to do, we let you decide.

*coming soon

Get Started

How it Works

When a Javascript program is executed, memory is allocated that stores the objects created by the program. When you deploy a smart contract to the Bitcoin|Computer, that object is additionally stored in one or more unspent transaction outputs (UTXOs).

The Bitcoin|Computer software guarantees that the UTXOs that store a smart object on the blockchain are synchronized to the locations on your hard drive that store the same object. This means that of either representations changes, the other one is updated as well.

In addition to deploying smart objects, the Bitcoin|Computer allows users to synchronize to smart objects that are already deployed on the blockchain. This provides a simple mechanism for building multi user applications: The shared state is stored on the blockchain and replicated on multiple users computers. Every user can call a function on an object on their local machine. As the object is synced to the blockchain the object on the blockchain updates as well which in turn updates all instances on other users machines.

Keywords

FAQs

Package last updated on 23 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc