/cbdc-sandbox-contracts

Smart contracts for the Norges Bank CBDC sandbox

Primary LanguageSolidityApache License 2.0Apache-2.0

Smart contracts for the Norges Bank CBDC sandbox

Disclaimer

This a sandbox project and not intended for production; use at your own risk.

Running locally

Installation

The repository may be cloned locally and installation triggered as follows.

$ git clone git@github.com:nahmii/nb-sandbox-contracts.git
$ cd nb-sandbox-contracts
$ npm install --ignore-scripts

NOTE: The reason for installing with the --ignore-scripts option is first and foremost to prevent the post-install script of package @consensys/universal-token from running. For the usage of @consensys/universal-token as dependency in this project the execution of postinstall is obsolete.

Compilation

The smart contract code base may be compiled with

$ npm run compile

Testing

In order to take the smart contracts for a test drive you may invoke

$ npm run test