-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Griko Nibras <[email protected]>
- Loading branch information
Showing
49 changed files
with
1,174 additions
and
3,566 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Deploy (dev.ibc.fun) | ||
name: Deploy (dev) | ||
on: | ||
pull_request: | ||
branches: [main] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Deploy (main) | ||
on: | ||
repository_dispatch: | ||
types: [deploy-main] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
sync: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- id: checkout | ||
name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: main | ||
|
||
- id: pull-staging | ||
name: Pull latest 'staging' | ||
run: git pull origin staging | ||
|
||
- id: diff-check | ||
name: Check if 'main' is behind 'staging' | ||
run: git diff --exit-code origin/staging | ||
|
||
- id: fast-forward | ||
name: Fast forward 'staging' → 'main' | ||
run: | | ||
git merge --no-ff origin/staging --message="feat: sync staging → main" | ||
- id: push-main | ||
name: Push latest 'main' | ||
run: git push --set-upstream origin main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,48 @@ | ||
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). | ||
![ibc.fun](https://github.com/skip-mev/ibc-dot-fun/blob/staging/public/social.png?raw=true) | ||
|
||
## Getting Started | ||
# ibc.fun | ||
|
||
First, ensure you have a `.env.development.local` file with the following environment variables: | ||
Interchain transfers and swaps on any Cosmos chain. This is the repository for [ibc.fun](https://ibc.fun) website. | ||
|
||
* `NEXT_PUBLIC_API_URL`: Root URL of the Skip API server the frontend will query. The two acceptable values are: | ||
* `https://api.skip.money/v1`: The stable, production API server | ||
* `https://solve-dev.skip.money/v1`: The nightly, unstable dev server used for testing and previewing new functionality | ||
(An example has been included in the repo under example.env). You *MUST* copy this to `env.development.local`. Internally, we use `env.development.local` to develop against the nightly API and `env.production.local` to develop against the stable one. | ||
## Prerequisites | ||
|
||
## Develop | ||
- [Node.js](https://nodejs.org) | ||
- [npm](https://npmjs.com) | ||
|
||
Run the development server: | ||
## Clone and setup | ||
|
||
```bash | ||
npm run dev | ||
# or | ||
yarn dev | ||
# or | ||
pnpm dev | ||
git clone https://github.com/skip-mev/ibc-dot-fun | ||
cd ibc-dot-fun | ||
npm install | ||
cp .env.example .env | ||
``` | ||
|
||
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. | ||
## Environment variables | ||
|
||
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. | ||
|
||
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. | ||
|
||
## Build and Run | ||
Make sure to set the following environment variables in `.env` file: | ||
|
||
```bash | ||
npm run build && npm run start | ||
# or | ||
yarn build && yarn start | ||
# or | ||
pnpm build && pnpm start | ||
NEXT_PUBLIC_API_URL="https://api.skip.money" # required | ||
NEXT_PUBLIC_CLIENT_ID= | ||
POLKACHU_USER= # required | ||
POLKACHU_PASSWORD= # required | ||
``` | ||
|
||
## Learn More | ||
Read more on all available environment variables in [`.env.example`](.env.example) file. | ||
|
||
To learn more about Next.js, take a look at the following resources: | ||
## Script commands | ||
|
||
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. | ||
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. | ||
- 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) | ||
|
||
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! | ||
## Contributing | ||
|
||
## Deploy on Vercel | ||
Feel free to open an issue or submit a pull request for any bugs and/or improvements. | ||
|
||
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. | ||
## Contact | ||
|
||
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. | ||
Reach out to our [support email](mailto:[email protected]), or join our [Discord](https://skip.money/discord) server. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). | ||
|
||
## Getting Started | ||
|
||
First, ensure you have a `.env.development.local` file with the following environment variables: | ||
|
||
* `NEXT_PUBLIC_API_URL`: Root URL of the Skip API server the frontend will query. The two acceptable values are: | ||
* `https://api.skip.money/v1`: The stable, production API server | ||
* `https://solve-dev.skip.money/v1`: The nightly, unstable dev server used for testing and previewing new functionality | ||
(An example has been included in the repo under example.env). You *MUST* copy this to `env.development.local`. Internally, we use `env.development.local` to develop against the nightly API and `env.production.local` to develop against the stable one. | ||
|
||
## Develop | ||
|
||
Run the development server: | ||
|
||
```bash | ||
npm run dev | ||
# or | ||
yarn dev | ||
# or | ||
pnpm dev | ||
``` | ||
|
||
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. | ||
|
||
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. | ||
|
||
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. | ||
|
||
## Build and Run | ||
|
||
```bash | ||
npm run build && npm run start | ||
# or | ||
yarn build && yarn start | ||
# or | ||
pnpm build && pnpm start | ||
``` | ||
|
||
## Learn More | ||
|
||
To learn more about Next.js, take a look at the following resources: | ||
|
||
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. | ||
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. | ||
|
||
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! | ||
|
||
## Deploy on Vercel | ||
|
||
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. | ||
|
||
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. |
Submodule chain-registry
updated
108 files
Oops, something went wrong.
d339dbf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
ibc-dot-fun – ./
ibc.fun
ibc-dot-fun-skip-protocol.vercel.app
ibc-dot-fun-git-main-skip-protocol.vercel.app
ibc-dot-fun.vercel.app
www.ibc.fun