Skip to content

Commit

Permalink
Merge branch 'main' into vars-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ericHgorski authored Oct 2, 2024
2 parents d10ecdb + 127c1ac commit f57e6ab
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
allow:
- dependency-name: "@skip-go/client"

20 changes: 10 additions & 10 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { PhantomWalletAdapter } from "@solana/wallet-adapter-phantom";
import Head from "next/head";
import { createWalletClient, custom, Account } from "viem";
import { mainnet } from "viem/chains";
import { useEffect, useState } from "react";
import React, { useEffect, useState } from "react";

export default function Home() {
const [route, setRoute] = useState<RouteResponse | null>(null);
Expand Down Expand Up @@ -182,15 +182,15 @@ export default function Home() {
getAddress("noble-1"),
getAddress("osmosis-1"),
]);
const balances = await skipClient.balances({
chains: {
"noble-1": {
address: noble.address,
denoms: ["uusdc"]
},
"osmosis-1": {
address: osmosis.address,
denoms: ["ibc/498A0751C798A0D9A389AA3691123DADA57DAA4FE165D5C75894505B876BA6E4", "uosmo"]
const balances = await skipClient.balances({
chains: {
"noble-1": {
address: noble.address,
denoms: ["uusdc"]
},
"osmosis-1": {
address: osmosis.address,
denoms: [] // Fetch all denoms for address
}
}
});
Expand Down

0 comments on commit f57e6ab

Please sign in to comment.