Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
1813ee2
Chess-App: Add basic test for contract
ClemensLey Nov 14, 2024
9291bd2
Chess-App: add polyfill for Buffer
ClemensLey Nov 25, 2024
e239d21
Chess-App: add payment contract
ClemensLey Nov 25, 2024
2a33705
NakamotoJs: add function getNetwork(chain, network)
ClemensLey Nov 25, 2024
43fc0e0
Refactor readme files and docs for getting started
ClemensLey Nov 25, 2024
b43ffd0
Nft: make modSpecs work with vite
ClemensLey Nov 25, 2024
00845fc
Nft: fix node configuration
ClemensLey Nov 25, 2024
4ffea1b
Merge main into branch
ClemensLey Nov 26, 2024
82a2c3f
Add chess-app to check-obfuscation
ClemensLey Nov 26, 2024
dcabaed
Dockerfile: fix vcpkg errors
ClemensLey Nov 26, 2024
f8c03be
Node: update version of zeromq
ClemensLey Nov 26, 2024
f26ebb4
chess-app: update .env file from deploy script and refactoring
ClemensLey Nov 28, 2024
eeacbf0
Chess: harmonize names in Payment class with names in ChessGame class…
ClemensLey Nov 28, 2024
2cdaf78
Chess-Server: fix bug in "up" script
ClemensLey Nov 28, 2024
27e6fe4
Chess-Game: refactoring
ClemensLey Nov 29, 2024
6c6409e
Chess-Game: refactoring and starting work on ChessGameHelper
ClemensLey Nov 29, 2024
57677fd
Chess-App: integrate payment contract into chess contract
ClemensLey Dec 2, 2024
0f959a7
Chess-Game: use ChessGameHelper.deploy in deploy script
ClemensLey Dec 2, 2024
b39c407
Chess-App: fix bug where "fs" was imported in the browser
ClemensLey Dec 5, 2024
b07c379
Chess-Game-App: add table Secrets
ClemensLey Dec 5, 2024
0913610
Chess-Game: cleanup
ClemensLey Dec 6, 2024
1842207
Chess-Game: rename new-game route to new
ClemensLey Dec 6, 2024
44c70b9
NakamotoJS: make transaction serialize and deserialize URL safe
ClemensLey Dec 7, 2024
a09a7aa
Chess-Game: start work on page for starting a game
ClemensLey Dec 7, 2024
13e0f8e
Merge main into branch
ClemensLey Dec 7, 2024
ac7386c
Chess-Game-Sever: add script to cleanup db data
ClemensLey Dec 7, 2024
4b25ce0
Chess-Game-Server: remove table game
ClemensLey Dec 7, 2024
87b796b
Chess-Game-Server: rename route /secret to /hash
ClemensLey Dec 7, 2024
e3cebbf
Chess-Game: fix all lint issues
ClemensLey Dec 10, 2024
dd631ee
Chess-Game: fix all lint issues
ClemensLey Dec 10, 2024
1b1a59c
Merge branch 'chess-game-contracts' of https://github.com/bitcoin-com…
ClemensLey Dec 10, 2024
97cfc36
Added types script and fixed types in scripts
jonty007 Dec 11, 2024
97291fd
Chess: transpile chess.ts to chess.js on the fly to make the code eas…
ClemensLey Dec 13, 2024
3e8578d
Chess: clarify names
ClemensLey Dec 13, 2024
0bd0f26
Chess: rename fix name of test file
ClemensLey Dec 13, 2024
17786bc
Chess: move functions that are used in just one file out of utils
ClemensLey Dec 13, 2024
c22318c
Chess: tighter integration between chess contract and chess lib
ClemensLey Dec 15, 2024
69ff25b
Merge main into branch
ClemensLey Dec 15, 2024
c32ee1f
Chess-App: fix bugs in gallery
ClemensLey Dec 16, 2024
a5f81e2
Chess-App: fix import in deploy script
ClemensLey Dec 16, 2024
6ac4326
Chess-App: remove chess.mjs as it is now generated on the fly
ClemensLey Dec 16, 2024
0013d94
Chess-App: move more functionality into smart contract
ClemensLey Dec 16, 2024
f316cc4
Chess-App: fix bugs in package.json files
ClemensLey Dec 16, 2024
13d2d16
Chess-App: Make tsconfig.json more robust
ClemensLey Dec 16, 2024
49398d7
Chess-App-Server: start work on README file
ClemensLey Dec 16, 2024
8431cb4
Lib: add reference path to index.d.ts
ClemensLey Dec 16, 2024
c7c7677
Built files and package-lock
ClemensLey Dec 16, 2024
425fa8b
Rename package Chess-App-Server to Chess-Sever
ClemensLey Dec 16, 2024
2dc76ba
Chess: start integrating payouts
ClemensLey Dec 18, 2024
4415880
Chess-App: remove payment file as it's smart contract is in the chess…
ClemensLey Dec 18, 2024
e21bba1
Create package chess-contracts
ClemensLey Dec 18, 2024
258ddcc
Merge branch 'main' into chess-game-contracts
ClemensLey Dec 18, 2024
150a465
Create package chess-contracts
ClemensLey Dec 19, 2024
0b5c18d
Chess-App: import contracts from chess-contracts package
ClemensLey Dec 20, 2024
1d95b43
Chess-server: import chess.ts from chess-contracts
ClemensLey Dec 20, 2024
abbcaa3
Chess-Game: make tests for route secret work
ClemensLey Dec 21, 2024
a48db91
Chess: simplify interface of spend function
ClemensLey Dec 22, 2024
7ed7be0
Chess-App: add deploy script
ClemensLey Dec 26, 2024
bc7283a
Chess-Contract: fix deploy script
ClemensLey Dec 26, 2024
8ecd25f
Chess-Contract: fix move function of ChessHelper
ClemensLey Dec 26, 2024
1f07254
Chess-App: add turbo build command to package.json
ClemensLey Dec 26, 2024
3886684
Chess: refactor interface of the constructor of ChessHelper
ClemensLey Dec 26, 2024
2e30803
Chess: consolidate tests into chess-contracts package
ClemensLey Dec 26, 2024
8250729
Chess: set chess game parameters for second player in completeTx
ClemensLey Dec 26, 2024
a655795
Chess-Helper: refactor interface to the constructor
ClemensLey Dec 27, 2024
b04cbce
Chess-App: fix bugs in .env
ClemensLey Dec 28, 2024
9f38422
Chess-App: fix bugs in .env
ClemensLey Dec 28, 2024
25ea16c
Chess: move deploy script to server to fix all all tests and the app
ClemensLey Dec 28, 2024
c0b9de0
Chess-Contract: refactor config.ts
ClemensLey Jan 3, 2025
1e116a9
Chess-Game: minor fixes
ClemensLey Jan 3, 2025
0c569f7
Merge branch 'chess-game-contracts' of https://github.com/bitcoin-com…
ClemensLey Jan 3, 2025
eecffc6
Chess: update readme files
ClemensLey Jan 3, 2025
027ef2c
Chess: more work on readme files
ClemensLey Jan 3, 2025
18da17f
Merge branch 'main' into chess-game-contracts
ClemensLey Jan 3, 2025
6528ef2
Update start.md
ltardivo Jan 3, 2025
07a0c21
Built files
ClemensLey Jan 7, 2025
8488493
WIP: Merge branch 'main' into chess-game-contracts
ClemensLey Jan 12, 2025
141af02
Chess: fix bug in package.json
ClemensLey Jan 12, 2025
aa8a5e8
merge commit
jonty007 Jan 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ COPY . /dist
# Remove the existing node_modules directory
RUN rm -rf node_modules

# Set VCPKG_FORCE_SYSTEM_BINARIES to avoid vcpkg errors
ENV VCPKG_FORCE_SYSTEM_BINARIES=1

# Install dependencies
RUN npm install --build-from-source

Expand Down
56 changes: 24 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,59 +7,51 @@
</p>
</div>

This monorepo contains everything you need to build smart contract based applications. To get started, follow the readme file of [Lib](https://github.com/bitcoin-computer/monorepo/tree/main/packages/lib#readme).
This monorepo contains everything you need to build smart contract based applications.

## Core
## Getting Started

See [here](https://docs.bitcoincomputer.io/start/).

## Demos

* [wallet.bitcoincomputer.io](https://wallet.bitcoincomputer.io/)
* [explorer.bitcoincomputer.io](https://explorer.bitcoincomputer.io/)
* [nft.bitcoincomputer.io](https://nft.bitcoincomputer.io/)

## Help

* [Documentation](https://docs.bitcoincomputer.io/)
* [Telegram](https://t.me/thebitcoincomputer)
* [Twitter](https://twitter.com/TheBitcoinToken)

## Packages

### Core
* [Lib](https://github.com/bitcoin-computer/monorepo/tree/main/packages/lib#readme) - A Javascript library for smart contracts
* [Node](https://github.com/bitcoin-computer/monorepo/tree/main/packages/node#readme) - Server side infrastructure for smart contracts
* [NakamotoJS](https://github.com/bitcoin-computer/monorepo/tree/main/packages/nakamotojs#readme) - A Javascript library for building and parsing transactions

## Applications
### Applications
* [Wallet](https://github.com/bitcoin-computer/monorepo/tree/main/packages/wallet#readme) - A non-custodial wallet
* [Blockchain Explorer](https://github.com/bitcoin-computer/monorepo/tree/main/packages/explorer#readme) - A block explorer with smart contract support
* [Chat](https://github.com/bitcoin-computer/monorepo/tree/main/packages/chat#readme) - A p2p chat via Bitcoin and Litecoin
* [Fungible Token App](https://github.com/bitcoin-computer/monorepo/tree/main/packages/ft#readme) - An app for minting, sending, and storing fungible tokens
* [Non Fungible Token App](https://github.com/bitcoin-computer/monorepo/tree/main/packages/nft#readme) - An app for minting, sending, and storing non-fungible tokens

## Standard Contracts
### Standard Contracts
* [TBC20](https://github.com/bitcoin-computer/monorepo/tree/main/packages/TBC20#readme) - An implementation of the ERC20 Fungible Token Standard
* [TBC721](https://github.com/bitcoin-computer/monorepo/tree/main/packages/TBC721#readme) - An implementation of the ERC721 Non-Fungible Token Standard
* [Swap](https://github.com/bitcoin-computer/monorepo/tree/main/packages/swap#readme) - An implementation of TBC721 swap and sale contracts

## Templates
### Templates
* [Node.js Template](https://github.com/bitcoin-computer/monorepo/tree/main/packages/nodejs-template#readme) - A template for starting a new server side app
* [React Template](https://github.com/bitcoin-computer/monorepo/tree/main/packages/cra-template#readme) - A template for starting a new client side app

## Documentation
### Documentation
* [Docs](https://github.com/bitcoin-computer/monorepo/tree/main/packages/docs#readme) - The sources for the documentation
* [Website](https://github.com/bitcoin-computer/monorepo/tree/main/packages/website#readme) - The sources for the website

## Getting Started

There are three easy ways to get started with Bitcoin Computer smart contracts:

1. Online example: See how it works without any installation requirements! [This](https://docs.bitcoincomputer.io/start/) simple example defines, deploys, and executes a smart contract in your browser.

2. Online tools: Try out the Bitcoin Computer functionality directly with our online [Explorer](https://explorer.bitcoincomputer.io) and [Playgorund](https://explorer.bitcoincomputer.io/playground).

3. Local development:

* Clone this monorepo.

```bash
git clone https://github.com/bitcoin-computer/monorepo.git
cd monorepo
npm install
```

* Run the applications locally by following the instructions in each application's readme file.

Check the latest version of the Bitcoin Computer monorepo on the [releases](https://github.com/bitcoin-computer/monorepo/releases) page.

## Getting Help

Have a look at the [docs](https://docs.bitcoincomputer.io/). If you have any questions, please let us know on <a href="https://t.me/thebitcoincomputer" target="_blank">Telegram</a>, <a href="https://twitter.com/TheBitcoinToken" target="_blank">Twitter</a>, or by email clemens@bitcoincomputer.io.

## Legal Notice

See [here](https://github.com/bitcoin-computer/monorepo/tree/main/packages/lib#legal-notice).
Loading