Decentralizing the credit market, today.
Exactly is a decentralized, non-custodial and open-source protocol that provides an autonomous fixed and variable interest rate market enabling users to frictionlessly exchange the time value of their assets and completing the DeFi credit market.
Clone the repository
git clone git@github.com:exactly/app.git
and install its dependencies with
npm install
The app can be started locally with
npm run dev
and the instance should be accessible at http://localhost:3000
.
An environment file is required to be created as .env
in the root of the
project with the following content
NEXT_PUBLIC_NETWORK=goerli # Network to use by default
NEXT_PUBLIC_ENABLE_TESTNETS=true # Enable testnets (required if NETWORK is a tesnet)
A development server can be started at http://localhost:3000
with
npm run dev
We use the Cypress testing framework to run our E2E tests and Tenderly to setup forks.
The following environment variables are required to be present for the tests to work as expected
CYPRESS_TENDERLY_ACCESS_KEY=<tenderly access token>
CYPRESS_TENDERLY_PROJECT=<tenderly project>
CYPRESS_TENDERLY_USER=<tenderly user>
The full suite can be run using
npm run ci
the command above will setup a production server and run tests on it. Which is the same as running
npm run start:e2e # Or `npm run dev:e2e` for a dev server
and in another terminal
npm run test
To run a single test use the same above but specifiy the spec to run with
npm run test -- --spec [path] # e.g. tests/e2e/specs/0-connect-wallet-spec.ts
Use the --headed
flag to open the Cypress instance.
We use Vercel. New pull requests will be deployed will receive previews deployed to be reviewed.
Any code merged to main
will be immediately deployed to production.
Licensed under the BUSL-1.1 License.