https://github.com/hexresearch/hschain-utxo
UTXO-based contracts for hschain
https://github.com/hexresearch/hschain-utxo
Last synced: about 2 months ago
JSON representation
UTXO-based contracts for hschain
- Host: GitHub
- URL: https://github.com/hexresearch/hschain-utxo
- Owner: hexresearch
- Created: 2019-09-23T08:38:09.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-04-16T07:00:42.000Z (about 5 years ago)
- Last Synced: 2025-02-26T11:17:19.350Z (over 1 year ago)
- Language: Haskell
- Size: 9.71 MB
- Stars: 0
- Watchers: 9
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hschain-utxo
UTXO-based contracts for hschain.
Language for smart contracts and service to work with UTXO model.
For a description read the [docs](https://hexresearch.github.io/hschain-utxo/)
### How to build
Project is built with nix. See README.md in the nix directory
for instructions.
### How to run tests
Tests define several scenarios of funds exhabge.
They start nodes allocate money to users and trigger exchange of funds
on various conditions.
We should run tests in the directory hschain-utxo-test.
```
> cd hschain-utxo-test
> cabal new-run hschain-utxo-test
```
### How to update docs
See this workflow as a reference on how to update the docs:
https://daler.github.io/sphinxdoc-test/includeme.html
General workflow to update docs:
* cd to the main repo and edit doc-files in the ```doc``` directory.
* build docs locally with ```make html```
* commit changes
* switch to the html-doc repo ```../hschain-utxo-docs```
* commit html changes and submit it to the main repo
* ```git commit -a -m "rebuilt docs"```
* ```git push origin gh-pages```