Skip to content

Commit

Permalink
chore: save progress
Browse files Browse the repository at this point in the history
  • Loading branch information
o-az committed May 18, 2024
1 parent fbb45ea commit a7d44d8
Show file tree
Hide file tree
Showing 16 changed files with 192 additions and 227 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,4 @@ process-compose.yml
process-compose.override.yml
*.cpuprofile
.vite-inspect
~partytown/
1 change: 1 addition & 0 deletions app/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ vite.config.*.timestamp-*
.eslintcache
.prettiercache
stats
~partytown
2 changes: 1 addition & 1 deletion app/app.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{
packages = {
app = unstablePkgs.buildNpmPackage {
npmDepsHash = "sha256-zqxZX54XLtK0bQ7iYAZdyXbEpFnVme5H+n1ZmvnUYiU=";
npmDepsHash = "sha256-YyQx5uPbFwmn2R/i4VQqzQKhYtVIjbZmkfdDgafsdZ8=";
src = ./.;
sourceRoot = "app";
npmFlags = [ "--legacy-peer-deps" ];
Expand Down
306 changes: 153 additions & 153 deletions app/package-lock.json

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@
"@cosmjs/cosmwasm-stargate": "^0.32.3",
"@cosmjs/stargate": "0.32.3",
"@leapwallet/cosmos-snap-provider": "^0.1.26",
"@tanstack/svelte-query": "^5.36.1",
"@tanstack/svelte-query": "^5.37.0",
"@tanstack/query-sync-storage-persister": "^5.36.1",
"@tanstack/svelte-query-persist-client": "^5.36.1",
"@tanstack/svelte-query-persist-client": "^5.37.0",
"@union/client": "npm:@jsr/union__client@^0.0.1-rc.8",
"@urql/exchange-persisted": "^4.3.0",
"@urql/exchange-retry": "^1.3.0",
"@urql/svelte": "^4.2.0",
"@wagmi/connectors": "^4.3.10",
"@wagmi/core": "^2.9.8",
"@web3modal/wagmi": "^4.2.0",
"@wagmi/connectors": "^5.0.2",
"@wagmi/core": "^2.10.2",
"@web3modal/wagmi": "^4.2.1",
"bits-ui": "^0.21.7",
"cmdk-sv": "^0.0.17",
"formsnap": "^1.0.0",
Expand All @@ -43,38 +43,38 @@
"sveltekit-superforms": "^2.13.1",
"uint8array-extras": "^1.1.0",
"valibot": "^0.30.0",
"vaul-svelte": "^0.3.0",
"viem": "^2.10.8"
"vaul-svelte": "^0.3.1",
"viem": "^2.10.9"
},
"devDependencies": {
"@0no-co/graphqlsp": "^1.12.3",
"@cosmjs/tendermint-rpc": "0.32.3",
"@iconify-json/logos": "^1.1.42",
"@iconify-json/lucide": "^1.1.187",
"@iconify-json/mdi": "^1.1.66",
"@iconify-json/tabler": "^1.1.111",
"@iconify-json/tabler": "^1.1.112",
"@keplr-wallet/types": "^0.12.89",
"@leapwallet/types": "^0.0.5",
"@melt-ui/pp": "^0.3.2",
"@melt-ui/svelte": "^0.79.1",
"@svelte-put/copy": "^3.0.0",
"@svelte-put/shortcut": "^3.1.0",
"@svelte-put/copy": "^3.0.1",
"@svelte-put/shortcut": "^3.1.1",
"@sveltejs/adapter-static": "^3.0.1",
"@sveltejs/kit": "^2.5.8",
"@sveltejs/kit": "^2.5.9",
"@sveltejs/vite-plugin-svelte": "^3.1.0",
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tailwindcss/container-queries": "^0.1.1",
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.13",
"@tanstack/svelte-query-devtools": "^5.36.1",
"@tanstack/svelte-query-devtools": "^5.37.0",
"@total-typescript/ts-reset": "^0.5.1",
"@types/node": "^20.12.12",
"@types/postcss-import": "^14.0.3",
"@urql/devtools": "^2.0.3",
"autoprefixer": "^10.4.19",
"buffer": "^6.0.3",
"clsx": "^2.1.1",
"fluid-tailwind": "^0.3.0",
"fluid-tailwind": "^0.3.1",
"graphql": "^16.8.1",
"jsr": "^0.12.4",
"patch-package": "^8.0.0",
Expand All @@ -94,7 +94,7 @@
"tailwindcss": "^3.4.3",
"tailwindcss-animate": "^1.0.7",
"tslib": "^2.6.2",
"tsx": "^4.10.3",
"tsx": "^4.10.4",
"typed-query-selector": "^2.11.2",
"typescript": "^5.4.5",
"unplugin-icons": "^0.19.0",
Expand Down
45 changes: 2 additions & 43 deletions app/src/generated/graphql-env.d.ts

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions app/src/lib/constants/faucets.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export const FAUCET_LINKS: Array<{ asset: string; link: string }> = [
{ asset: "usdc", link: "https://faucet.circle.com" },
{ asset: "link", link: "https://faucets.chain.link" },
{ asset: "eth", link: "https://www.infura.io/faucet/sepolia" }
]
10 changes: 6 additions & 4 deletions app/src/lib/constants/keys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
*/

export const KEY = {
ALCHEMY: "SQAcneXzJzITjplR7cwQhFUqF-SU-ds4",
CHAINSTACK: "57408c51ba71f58eba01a832cb23c6a8",
WALLET_CONNECT_PROJECT_ID: "49fe74ca5ded7142adefc69a7788d14a",
ANKR: "bced07c1a0ee36409ee84dae4e4f65a25b57715ddd8f3f2fd261f2a6b5508505"
RPC: {
ALCHEMY: "SQAcneXzJzITjplR7cwQhFUqF-SU-ds4",
CHAINSTACK: "57408c51ba71f58eba01a832cb23c6a8",
ANKR: "bced07c1a0ee36409ee84dae4e4f65a25b57715ddd8f3f2fd261f2a6b5508505"
},
WALLET_CONNECT_PROJECT_ID: "49fe74ca5ded7142adefc69a7788d14a"
}
2 changes: 1 addition & 1 deletion app/src/lib/queries/balance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export function evmBalancesQuery({
? restParams.tokenSpecification // if tokenSpecification is a string, use it
: "DEFAULT_TOKENS"
console.log(address, assetsToCheck)
const response = await fetch(`https://eth-sepolia.g.alchemy.com/v2/${KEY.ALCHEMY}`, {
const response = await fetch(`https://eth-sepolia.g.alchemy.com/v2/${KEY.RPC.ALCHEMY}`, {
method: "POST",
body: JSON.stringify({
id: 1,
Expand Down
2 changes: 0 additions & 2 deletions app/src/lib/wallet/snaps/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


interface SnapMethodParams {
snapId: string
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<script lang="ts">
import "$lib/polyfill.ts"
import "$styles/index.css"
import { onMount } from "svelte"
import { cn } from "$lib/utilities/shadcn"
import { ModeWatcher } from "mode-watcher"
import { browser } from "$app/environment"
import { setContext, onMount } from "svelte"
import { Toaster } from "svelte-french-toast"
import { page, navigating } from "$app/stores"
import { shortcut } from "@svelte-put/shortcut"
Expand Down
4 changes: 4 additions & 0 deletions app/src/routes/api/faucet-links/+server.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { json } from "@sveltejs/kit"
import { FAUCET_LINKS } from "$lib/constants/faucets.ts"

export const GET = () => json(FAUCET_LINKS)
2 changes: 1 addition & 1 deletion dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Axelar
BAYC
BLOCKSCOUT
Beriker
rdns
Bitfield
Bitvector
Boiron
Expand Down Expand Up @@ -812,6 +811,7 @@ rabby
randao
rawfile
rclone
rdns
readarray
receiveds
recursiving
Expand Down
Binary file modified typescript-sdk/bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion typescript-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@types/node": "^20.12.12",
"cosmjs-types": "^0.9.0",
"patch-package": "^8.0.0",
"tsx": "^4.10.2",
"tsx": "^4.10.4",
"typescript": "^5.4.5",
"vite-tsconfig-paths": "^4.3.2",
"vitest": "^1.6.0"
Expand Down
7 changes: 1 addition & 6 deletions typescript-sdk/scripts/sepolia-to-union.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@ import { parseArgs } from "node:util"
import { UnionClient } from "#/mod.ts"
import { privateKeyToAccount } from "viem/accounts"
import { walletActionsEip5792 } from "viem/experimental"
import {
http,
erc20Abi,
publicActions,
createWalletClient,
} from "viem"
import { http, erc20Abi, publicActions, createWalletClient } from "viem"

/* `bun scripts/sepolia-to-union.ts --private-key "..."` */

Expand Down

0 comments on commit a7d44d8

Please sign in to comment.