Skip to content

sucepass/basiscash-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basis Cash Title Image

Basis Cash Interface

This is front-end repository of the 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:

- 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 and copy-n-paste the deployment information generated on build/deployment.<network>.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:

- 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

About

Official Front-end Interface of the Basis Cash Protocol

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published