Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

Simple registration contract and associated HTTP gateway to store hashes on an Ethereum network

License

Notifications You must be signed in to change notification settings

GovTechSG/registry-contract

Repository files navigation

registry-contract

Build Status

Proof-of-concept for a simple registration contract to store hashes on an Ethereum network.

See also:

Testing

Start a test server, and run the tests

ganache-cli
yarn test
yarn lint

Docker image

Docker image for testing and running on CI. docker-compose up starts up

  • A ganache-cli instance with port 8545 exposed
  • A long-running truffle container to run truffle scripts in (for testing)
  • A HTTP gateway with port 3000 exposed
docker-compose up
docker-compose exec truffle yarn run test:docker

HTTP Gateway

More details

The HTTP gateway to the underlying Parity network can be found in gateway. See gateway/README.md for more details.

About

Simple registration contract and associated HTTP gateway to store hashes on an Ethereum network

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published