dharmaprotocol / charta

New & improved contracts for Dharma protocol
98 stars 50 forks source link

'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.

Dharma is a protocol for generic tokenized debt issuance and fundraising on blockchains supporting requisite smart contract functionality (i.e. EVM blockchains). 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.

Deployed Contracts


Ethereum Mainnet
Kovan Testnet

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.