Coder Social home page Coder Social logo

spetsmash / dharma.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dharmaprotocol/dharma.js

0.0 2.0 0.0 5.67 MB

Javascript Developer library for interacting with Dharma Protocol

Home Page: https://dharma.io

License: MIT License

TypeScript 99.58% JavaScript 0.22% Shell 0.20%

dharma.js's Introduction


Hello, dharma.js!

CircleCI

This repository contains the dharma.js client application development libraries. dharma.js makes it easy for developers who may not be deeply familiar with smart contract development to interact with the various components of Dharma protocol and build hyper-flexible lending applications.

Extensive documentation on the libraries can be found here.

For examples of how to integrate dharma.js into a client application, we recommend perusing the Dharma React Starter Kit repository and playing around with the sample application

Installation & Setup:
yarn add @dharmaprotocol/dharma.js
Using ES6 style imports (recommended):
import Dharma from "@dharmaprotocol/dharma.js"

const dharma = new Dharma(web3.currentProvider);

We recommend brushing up on the basics of Dharma protocol before diving in -- a non-techincal primer can be found here. For a deeper dive, study the Dharma whitepaper.

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

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.

Happy Hacking!

Contributing


Dependencies

Install dependencies:

yarn
Compile & Migrate Contracts

Start testrpc and setup dependencies:

yarn chain

Wait until the dependency migration complete message appears before interacting with the contracts.

Testing
yarn test:watch

Dharma.js API Reference

dharma.js's People

Contributors

nadavhollander avatar saturnial avatar graemecode avatar cstrangedk avatar

Watchers

James Cloos avatar Natali avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.