No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
it.unica.tcs.bitcointm.examples
it.unica.tcs.bitcointm.feature
it.unica.tcs.bitcointm.ide
it.unica.tcs.bitcointm.lib
it.unica.tcs.bitcointm.logging
it.unica.tcs.bitcointm.parent
it.unica.tcs.bitcointm.repository
it.unica.tcs.bitcointm.target
it.unica.tcs.bitcointm.tests
it.unica.tcs.bitcointm.ui.tests
it.unica.tcs.bitcointm.ui
it.unica.tcs.bitcointm.web
it.unica.tcs.bitcointm
.gitignore
.travis.yml
README.md
install-deps.sh

README.md

Build Status Coverage Status

Balzac

A domain-specific language to write Bitcoin transactions, based on the paper A formal model of Bitcoin transactions presented at Financial Cryptography and Data Security 2018.

Online editor: http://blockchain.unica.it/balzac/

Documentation: http://blockchain.unica.it/balzac/docs

Setup

Execute the script install-deps.sh or alternatively follow these steps:

Install a customized version of BitcoindConnector4J

echo "Cloning https://github.com/natzei/BitcoindConnector4J.git"
git -C $HOME clone https://github.com/natzei/BitcoindConnector4J.git
git -C $HOME/BitcoindConnector4J checkout release-0.16
gradle -p $HOME/BitcoindConnector4J install

Compare versions

Install a customized version of BitcoinJ

echo "Cloning https://github.com/natzei/bitcoinj.git"
git -C $HOME clone https://github.com/natzei/bitcoinj.git
git -C $HOME/bitcoinj checkout lib
gradle -p $HOME/bitcoinj install -x test

Compare versions

Install

mvn -f it.unica.tcs.bitcointm.parent/ clean install

Run standalone server

In order to locally run the server (same of http://blockchain.unica.it/btm/):

mvn -f it.unica.tcs.bitcointm.web/ jetty:run

IDE

The project is currently developed using Eclipse IDE for Java and DSL Developers (Photon). Install it using the Eclipse installer.

Install Xtext 2.14 (update site).

Install Xsemantics 1.14 (update site).

Optional: install Jacoco (see http://www.eclemma.org/installation.html).