Skip to content

Commit

Permalink
feat: ibc fun to go.skip.build (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
codingki authored Jul 8, 2024
1 parent cd58a85 commit 2c7e965
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 13 deletions.
5 changes: 5 additions & 0 deletions .changeset/pretty-foxes-know.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@skip-go/widget': minor
---

change url
2 changes: 1 addition & 1 deletion packages/core/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ import { Adapter } from '@solana/wallet-adapter-base';
import { Connection, Transaction } from '@solana/web3.js';
import { MsgInitiateTokenDeposit } from './codegen/opinit/ophost/v1/tx';

export const SKIP_API_URL = 'https://api.skip.money';
export const SKIP_API_URL = 'https://api.skip.build';

export class SkipRouter {
protected requestClient: RequestClient;
Expand Down
2 changes: 1 addition & 1 deletion packages/widget/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Skip Go Widget

The `@skip-go/widget` package is an npm package providing a React component for a full swap interface using the [Skip API](https://skip.money/).
The `@skip-go/widget` package is an npm package providing a React component for a full swap interface using the [Skip API](https://skip.build/).

## Installation

Expand Down
2 changes: 1 addition & 1 deletion packages/widget/src/constants/defaults.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const appUrl = 'https://ibc.fun';
const appUrl = 'https://go.skip.build';

export const endpointOptions = {
getRpcEndpointForChain: async (chainID: string) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/widget/src/hooks/use-swap-widget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ export function useSwapWidget() {
params.set('amount_out', amountOut);
}
return {
link: `https://ibc.fun?${params}`,
link: `https://go.skip.build?${params}`,
};
}, [srcChain, srcAsset, dstChain, dstAsset, amountIn, amountOut]);

Expand Down
2 changes: 1 addition & 1 deletion packages/widget/src/ui/CraftedBySkip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const CraftedBySkip = () => {
return (
<div className="w-full flex flex-row justify-center items-center space-x-0">
<p className="text-sm">Crafted by</p>
<a href="https://skip.money" target="_blank">
<a href="https://skip.build" target="_blank">
<SkipLogo width={80} height="100%" />
</a>
</div>
Expand Down
16 changes: 8 additions & 8 deletions packages/widget/src/ui/PreviewRoute/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -523,10 +523,10 @@ export const PreviewRoute = ({
<AlertCollapse.Content>
<p>
<b>WARNING: </b>
ibc.fun does not support signing with Ledger when transferring
over CCTP to the Ethereum ecosystem. We&apos;re actively
working on fixing this with the Noble/Circle teams. We
apologize for the inconvenience
go.skip.build does not support signing with Ledger when
transferring over CCTP to the Ethereum ecosystem. We&apos;re
actively working on fixing this with the Noble/Circle teams.
We apologize for the inconvenience
</p>
</AlertCollapse.Content>
</AlertCollapse.Root>
Expand All @@ -536,10 +536,10 @@ export const PreviewRoute = ({
<AlertCollapse.Content>
<p>
<b>WARNING: </b>
ibc.fun does not support signing with Ledger on Ethermint-like
chains (e.g. Injective, Dymension, EVMOS, etc...). We&apos;re
actively working on fixing this with the Ledger team. We
apologize for the inconvenience.
go.skip.build does not support signing with Ledger on
Ethermint-like chains (e.g. Injective, Dymension, EVMOS,
etc...). We&apos;re actively working on fixing this with the
Ledger team. We apologize for the inconvenience.
</p>
</AlertCollapse.Content>
</AlertCollapse.Root>
Expand Down

0 comments on commit 2c7e965

Please sign in to comment.