Skip to content

dmtrs/iroha-playground

Repository files navigation

IrohaPlayground Playground

Playground for Hyplerdger Iroha.

Latest Commit

3 July 2021 / News: 🎫 Under preparation of backlog and adhoc grooming/requirements to aim for a MVP milestone.

Intro to Hyperledger Iroha

Hyperledger Iroha is a simple blockchain platform you can use to make trusted, secure, and fast applications by bringing the power of permission-based blockchain with Crash fault-tolerant consensus. It’s free, open-source, and works on Linux and Mac OS, with a variety of mobile and desktop libraries.

See more: hyperledger/iroha

Playground

Playground enables interaction with Hyperledget Iroha v1 API through a GraphQL interface. Domain graph introduced is enhancing current API and enables web components to visually communicate state of the blockchain.

Technologies

Apollo Web Client, Apollo Elements, Lit, Carbon Design System, Storybook, Strawbeery GraphQL, Starlette, Hyperledger Iroha

Development resources

Bootstrap

docker-compose up --detach

Graphql server under: http://localhost:8000

Local image

docker build -t iroha-playground
docker run -v $(pwd):/usr/src/app --rm -ti iroha-playground poetry run python keygen.py --name {KEY_NAME_HERE}
docker run -v $(pwd):/usr/src/app --rm -ti iroha-playground poetry run ptw -- --mypy playground --cov=playground --cov-report=term-missing:skip-covered --cov-report=xml tests/unit

Misc