This repo contains starter code to boot up a Dharma Relayer.
Dharma is an open, permissionless protocol that enables anyone to engage in credit-based transactions on the Ethereum blockchain. Read more here.
A relayer is a source of liquidity on the Dharma network. It connects borrowers with lenders.
You can think of it as a bulletin board where individuals connected on the Internet can post requests to borrow money.
We imagine a world in which the majority of financial transactions occur on globally accessible blockchains.
In this new world, being a relayer is akin to an early internet entrepreneur, providing a valuable service on the frontiers of the new economy.
There is no approval process for launching a Dharma Relayer. You can launch whenever you want. Dharma is live on the Ethereum mainnet.
Nothing outside of the traditional web stack. The only programming language necessary is JavaScript.
No, we intentionally created this starter kit without branding so that you, the entrepreneur, can conceive of and implement your own brand.
We imagine there being many relayers — each differentiated by the market they serve and the brand they build.
The Relayer Starter Kit is packed with features that allow you to focus on your business.
- Extensible React app
- Unstyled components that can be easily branded
- Local blockchain with the Dharma smart contracts pre-loaded
- Kovan and mainnet ready
- Deployable to Heroku out of the box
Ideas? Feedback? We want to hear from you! Email us at mailto:[email protected].
We made getting started fast, simple and fun. No fiddling with blockchains required.
Clone the repo to your workstation:
git clone https://github.com/dharmaprotocol/relayer-starter-kit.git
To run the project, you'll first need to install the dependencies:
yarn
And launch a local blockchain via:
yarn blockchain
And launch the server via:
yarn server
And launch the React frontend via:
yarn start
There is no need for running a local blockchain in this state.
And launch the server via:
`yarn kovan-server`
And launch the React frontend via:
`yarn start-kovan`
Everything you need to deploy to Heroku is baked into this repo.
In your command line, make sure you're logged into heroku, and then enter the following commands:
heroku create
heroku config:set NETWORK=kovan
git push -f heroku master
heroku open