Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sucepass/basiscash-frontend

Official Front-end Interface of the Basis Cash Protocol
https://github.com/sucepass/basiscash-frontend

Last synced: about 21 hours ago
JSON representation

Official Front-end Interface of the Basis Cash Protocol

Awesome Lists containing this project

README

        

![Basis Cash Title Image](https://raw.githubusercontent.com/Basis-Cash/basiscash-protocol/master/assets/bg.jpeg)

# Basis Cash Interface

This is front-end repository of the [basis.cash](https://basis.cash/).

## 💻 Set Up Environment

To begin, you need to install dependencies with Yarn.

```
$ yarn
```

You should update **default provider URL** because our production provider URL is limited by CORS for security.
On `src/config.ts`, please replace it:

```diff
- defaultProvider: 'https://mainnet.infura.io/v3/OLD_PROVIDER_URL',
+ defaultProvider: 'https://mainnet.infura.io/v3/YOUR_PROVIDER_URL',
```
adf
After it, you can launch the development server with following command.

```
$ yarn start
```

## 👩‍🌾 If You Want to Bring Your Own Contract...

If you want to use different contract deployment on development,
please build [basiscash-protocol](https://github.com/Basis-Cash/basiscash-protocol) and copy-n-paste
the deployment information generated on `build/deployment..json` into this project's deployment directory,
which is `src/basis-cash/deployments`.

Then, you need to change the deployment reference into yours. Suppose that the new deployment file is named `deployments.local.json`:

```diff
- deployments: require('./basis-cash/deployments/deployments.mainnet.json'),
+ deployments: require('./basis-cash/deployments/deployments.local.json'),
```

## ⚒ Contributions

Contributions are welcome! Since we don't have any contribution guide / issue templates yet,
please feel free to send PRs to the basiscash-frontend.

## LICENSE: MIT