Skip to content

0.18.0-beta.0

Pre-release
Pre-release

Choose a tag to compare

@ltardivo ltardivo released this 10 Apr 22:20
· 1419 commits to main since this release
b72aae4

Lib

  • You can now test the Bitcoin Computer without having to use testnet and without having to run a node. This vastly improves the user experience for new users and streamlines the onboarding process.

Blockchain Node

  • On regtest, the halving period is configured to infinity. This has two advantages: it allows our users to test the Bitcoin Computer without having to run a node and it allows us to run an unlimited number of tests without having to restart the node. We provide multiplatform images for our custom regtest Bitcoin version 22.0 and Litecoin version 0.21.2.2.
  • We are using the official Litecoin docker image version 0.21 for LTC mainnet and testnet.

Bitcoin Computer Node

  • Adds the configuration for docker files to launch on mainnet or testnet BTC.
  • Fixes an issue with transaction parsing (while synchronizing to BTC mainnet, there was a failure when encountering multisig scripts containing lengthy invalid public keys).
  • Refactors the node synchronization process to incorporate an exponential backoff mechanism for obtaining the block hash during each sync.
  • Checks an invariant for each parallel sync process to guarantee the correct processing.

NakamotoJS

  • Adds function to serialize and deserialize a transaction (a requirement for trustless swaps).
  • Adds function to return the inputs spent by a transaction (this simplifies building swaps).

TBC404

  • Adds a smart contract and tests for NFTs with partial ownership.

Swap

  • Adds smart contracts and tests for trustless swaps.
  • Adds smart contracts and tests for trustlessly selling smart objects.
  • Each smart contract now has a helper class associated with it that simplifies its use.

TCB721-App

  • More work on integrating the smart contracts with the app.

CRA-Template

  • Installs type checker, linter, and prettier by default.

General

  • Updates all dependencies with known security vulnerabilities