Skip to content

New & improved contracts for Dharma protocol as specified in https://whitepaper.dharma.io

Notifications You must be signed in to change notification settings

chrismin/charta

 
 

Repository files navigation


'Charta' is the latin word for 'letter or document'. We loosely appropriate this term as a codename for the smart contracts comprising the business logic of Dharma protocol.

This codebase is a work-in-progress -- we welcome open-source contributions and emphasize that the code contained herein is pre-alpha, unstable, and potentially unsafe.

Dharma is a protocol for generic tokenized debt issuance and fundraising on blockchains supporting requisite smart contract functionality (i.e. EVM blockchains). For a full description of the protocol's mechanics, a thorough overview can be found in the Dharma Protocol Whitepaper. This repository contains the core contracts that compromise the business logic for issuing and administering debt crypto-assets on-chain.

We use truffle for deployment, testing, and development, and use Typescript for testing and deployment.

Join us on our chat for any technical or general questions.

Setup


Dependencies

Install dependencies:

yarn install
Testing

Start testrpc:

yarn chain

Run truffle tests:

yarn test

Contract Architecture

A specification of the contracts comprising Dharma protocol's logic can be found in the Dharma wiki.

About

New & improved contracts for Dharma protocol as specified in https://whitepaper.dharma.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 76.7%
  • Solidity 20.0%
  • JavaScript 2.0%
  • HTML 1.3%