# cross-swap

> This is the front-end repo for Hector that allows users be part of the future of Greece.

Latest version **1.1.0** (published 2022-06-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install cross-swap
pnpm add cross-swap
yarn add cross-swap
bun add cross-swap
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; large bundle.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2022-06-03 |
| First published | 2022-06-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 63 |
| Unpacked size | 13.9 MB |
| Known vulnerabilities | 0 (+30 in 3 direct dependencies) |
| Install scripts | no |
| Maintainers | soulswapfinance |

## Links

- npm: https://www.npmjs.com/package/cross-swap
- Homepage: http://.
- npm.io page: https://npm.io/package/cross-swap

## Dependencies (63)

- [intl](https://npm.io/package/intl.md) ~1.2.5
- [sass](https://npm.io/package/sass.md) ~1.35.1
- [axios](https://npm.io/package/axios.md) ~0.24.0
- [react](https://npm.io/package/react.md) ~17.0.2
- [redux](https://npm.io/package/redux.md) ~4.1.0
- [dotenv](https://npm.io/package/dotenv.md) ~10.0.0
- [ethers](https://npm.io/package/ethers.md) ~5.4.0
- [lodash](https://npm.io/package/lodash.md) ~4.17.21
- [moment](https://npm.io/package/moment.md) ^2.29.1
- [graphql](https://npm.io/package/graphql.md) ~15.3.0
- [postcss](https://npm.io/package/postcss.md) ~8.3.5
- [date-fns](https://npm.io/package/date-fns.md) ~2.23.0
- [graphiql](https://npm.io/package/graphiql.md) ~1.5.7
- [recharts](https://npm.io/package/recharts.md) ~2.0.10
- [cross-env](https://npm.io/package/cross-env.md) ^7.0.3
- [node-sass](https://npm.io/package/node-sass.md) ~7.0.1
- [react-dom](https://npm.io/package/react-dom.md) ~17.0.2
- [react-ga4](https://npm.io/package/react-ga4.md) ~1.0.5
- [rubik-sdk](https://npm.io/package/rubik-sdk.md) ^1.0.0
- [web3modal](https://npm.io/package/web3modal.md) ~1.9.1
- [classnames](https://npm.io/package/classnames.md) ~2.3.1
- [node-watch](https://npm.io/package/node-watch.md) ~0.7.3
- [typescript](https://npm.io/package/typescript.md) ~4.3.2
- [@types/node](https://npm.io/package/@types/node.md) ^17.0.21
- [react-query](https://npm.io/package/react-query.md) ~3.34.5
- [react-redux](https://npm.io/package/react-redux.md) ~7.2.6
- [redux-thunk](https://npm.io/package/redux-thunk.md) ~2.3.0
- [@uniswap/sdk](https://npm.io/package/@uniswap/sdk.md) ~3.0.3
- [apollo-boost](https://npm.io/package/apollo-boost.md) ~0.4.9
- [qrcode.react](https://npm.io/package/qrcode.react.md) ~1.0.0
- [query-string](https://npm.io/package/query-string.md) 7.0.1
- [redux-logger](https://npm.io/package/redux-logger.md) ~3.0.6
- [apollo-client](https://npm.io/package/apollo-client.md) ~2.6.10
- [react-scripts](https://npm.io/package/react-scripts.md) ~4.0.3
- [@apollo/client](https://npm.io/package/@apollo/client.md) ~3.3.20
- [@popperjs/core](https://npm.io/package/@popperjs/core.md) ~2.9.2
- [react-blockies](https://npm.io/package/react-blockies.md) ~1.4.1
- [burner-provider](https://npm.io/package/burner-provider.md) ~1.0.38
- [react-countdown](https://npm.io/package/react-countdown.md) ^2.3.2
- [react-qr-reader](https://npm.io/package/react-qr-reader.md) ~2.2.1
- [@material-ui/lab](https://npm.io/package/@material-ui/lab.md) ~4.0.0-alpha.58
- [@reduxjs/toolkit](https://npm.io/package/@reduxjs/toolkit.md) ~1.6.1
- [apollo-utilities](https://npm.io/package/apollo-utilities.md) ~1.3.4
- [isomorphic-fetch](https://npm.io/package/isomorphic-fetch.md) ~3.0.0
- [react-router-dom](https://npm.io/package/react-router-dom.md) ~5.2.0
- [@material-ui/core](https://npm.io/package/@material-ui/core.md) ~4.12.3
- [@material-ui/icons](https://npm.io/package/@material-ui/icons.md) ~4.11.2
- [@apollo/react-hooks](https://npm.io/package/@apollo/react-hooks.md) ~4.0.0
- [@ethersproject/bytes](https://npm.io/package/@ethersproject/bytes.md) ~5.0.5
- [@ethersproject/units](https://npm.io/package/@ethersproject/units.md) ~5.4.0
- [@uniswap/v2-periphery](https://npm.io/package/@uniswap/v2-periphery.md) ~1.1.0-beta.0
- [@ethersproject/address](https://npm.io/package/@ethersproject/address.md) ~5.0.5
- [@testing-library/react](https://npm.io/package/@testing-library/react.md) ~12.0.0
- [@ethersproject/solidity](https://npm.io/package/@ethersproject/solidity.md) ~5.0.9
- [@ethersproject/bignumber](https://npm.io/package/@ethersproject/bignumber.md) ~5.4.0
- [@ethersproject/contracts](https://npm.io/package/@ethersproject/contracts.md) ~5.0.5
- [@ethersproject/providers](https://npm.io/package/@ethersproject/providers.md) ~5.0.12
- [react-css-theme-switcher](https://npm.io/package/react-css-theme-switcher.md) ~0.2.2
- [@ledgerhq/iframe-provider](https://npm.io/package/@ledgerhq/iframe-provider.md) ~0.4.2
- [@testing-library/jest-dom](https://npm.io/package/@testing-library/jest-dom.md) ~5.14.1
- [@testing-library/user-event](https://npm.io/package/@testing-library/user-event.md) ~13.1.9
- [@walletconnect/web3-provider](https://npm.io/package/@walletconnect/web3-provider.md) ~1.3.1
- [@ramp-network/ramp-instant-sdk](https://npm.io/package/@ramp-network/ramp-instant-sdk.md) ~2.2.0

## Recent versions

- 1.1.0 (latest) — 2022-06-03

## README

# [Cross Frontend](https://app.luxor.money/)

This is the front-end repo for Hector that allows users be part of the future of Greece.


## 🔧 Setting up Local Development

Required:

- [Node v14](https://nodejs.org/download/release/latest-v14.x/)
- [Yarn](https://classic.yarnpkg.com/en/docs/install/)
- [Git](https://git-scm.com/downloads)

```bash
$ git clone https://github.com/SoulSwapFinance/Luxor-Frontend.git
$ cd hectordao

# set up your environment variables
# read the comments in the .env files for what is required/optional
$ cp .env.example .env

# fill in your own values in .env, then =>
$ yarn
$ yarn start
```

The site is now running at `http://localhost:3000`!
Open the source code and start editing!

### Architecture/Layout

The app is written in [React](https://reactjs.org/) using [Redux](https://redux.js.org/) as the state container.

The files/folder structure are a **WIP** and may contain some unused files. The project is rapidly evolving so please update this section if you see it is inaccurate!

```
./src/
├── App.tsx       // Main app page
├── abi/          // Contract ABIs from etherscan.io
├── actions/      // Redux actions
├── assets/       // Static assets (SVGs)
├── components/   // Reusable individual components
├── constants.js/ // Mainnet Addresses & common ABI
├── contracts/    // TODO: The contracts be here as submodules
├── helpers/      // Helper methods to use in the app
├── hooks/        // Shared reactHooks
├── themes/       // Style sheets for dark vs light theme
└── views/        // Individual Views
```

## 🗣 Community

- [Join our Discord](https://discord.me/hector) and ask how you can get involved with the DAO!

---
_Source: https://npm.io/package/cross-swap · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
