Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/sucepass/basiscash-frontend
- Owner: sucepass
- License: mit
- Created: 2024-10-09T02:27:45.000Z (about 1 month ago)
- Default Branch: master
- Last Pushed: 2024-10-10T18:43:27.000Z (about 1 month ago)
- Last Synced: 2024-10-21T06:40:18.589Z (24 days ago)
- Language: TypeScript
- Homepage: https://app.basis.cash
- Size: 2.06 MB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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