ibc.fun

ibc.fun

Interchain transfers and swaps on any Cosmos chain. This is the repository for ibc.fun website.

Prerequisites

Clone and setup

git clone https://github.com/skip-mev/ibc-dot-fun
cd ibc-dot-fun
npm install
cp .env.example .env

Environment variables

Make sure to set the following environment variables in .env file:

NEXT_PUBLIC_API_URL="https://api.skip.money"
NEXT_PUBLIC_CLIENT_ID=    # optional
POLKACHU_USER=            # required
POLKACHU_PASSWORD=        # required
NEXT_PUBLIC_EDGE_CONFIG=  # required

To retrieve NEXT_PUBLIC_EDGE_CONFIG, visit the edge config token setup page.

Read more on all available environment variables in .env.example file.

Script commands

  • run development server: npm run dev
  • format sources: npm run format
  • lint sources: npm run lint
  • build production bundle: npm run build
  • run production server: npm run start (must run build first)

Testing

npm run test will run the unit tests. npm run test:e2e will run the automated end-to-end tests. Make sure you have WORD_PHRASE_KEY=""(12 word phrase key) in your .env file. This will be used to importing the wallet and perform the tests.

Contributing

Feel free to open an issue or submit a pull request for any bugs and/or improvements.

Contact

Reach out by joining our Discord server.