Norges Bank CBDC Sandbox Code Now Public

John Derbyshire
Nahmii
Published in
2 min readSep 8, 2022

--

As part of our ongoing work with Norges Bank, we are delighted to announce that the source code for their CBDC sandbox is now publicly available. You can access the code here, which is offered under an open-source Apache 2.0 Licence.

Issue, redeem and distribution of CBDC

Our work with Norges Bank focused on defining and commissioning a sandbox production environment with open sourced services (Grafana, BlockScout and Hyperledger Besu). This allows for the testing of basic token management use cases, including minting, burning and transferring ERC-20 tokens.

In addition to deploying the appropriate smart contracts and access controls, the Norges Bank sandbox includes a custom frontend and network monitoring tools (BlockScout and Grafana). The frontend also shows a filterable summary of transactions on the network.

Written in React, the sandbox frontend is designed to offer a clear and intuitive interface for interacting with the test network. Role-based access control is in place for important functions like minting and burning tokens.

Please note that this version of the code is only suitable for keystore files and does not support MetaMask, this is by design.

The current version of the Norges Bank sandbox network sits behind basic authentication and is only accessible by users with the appropriate credentials. Transactions on the test network are therefore private.

Batch and bridge

Further sandbox development includes more complex and interesting use cases, such as batch payments, security tokens and bridges. This involves custom smart contract work, alongside additional frontend development.

We expect to deliver the second part of the project to Norges Bank by mid-September, with the source code likely to be made publicly available soon afterwards.

Anyone can spin up a standalone version of the sandbox by using our code and the standard Docker images from here.

Nahmii AS are proud to be working with Norges Bank and other institutions on this prestigious project and hope that our work together will help to set new standards for public-private partnerships.

--

--