Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 952 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 952 Bytes

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 [email protected]: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