ramvi / cbdc-sandbox-contracts

Smart contracts for the Norges Bank CBDC sandbox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Smart contracts for the Norges Bank CBDC sandbox

License:Apache License 2.0


Languages

Language:Solidity 60.5%Language:TypeScript 36.9%Language:Shell 2.0%Language:JavaScript 0.3%Language:Dockerfile 0.2%