😎
Pinned Loading
-
form-floating-labels-tailwindcss
form-floating-labels-tailwindcss PublicSimple form with floating labels build with Tailwind CSS
-
nextjs-refresh-token
nextjs-refresh-token PublicNext.js 14 refresh token rotation with http only cookies and external backend (Hono.js)
-
offline-transactions
offline-transactions PublicMonorepo for secure offline crypto transactions using React, Vite & Hono.js. Supports Solana’s durable nonce, with Ethereum support coming soon
TypeScript 1
-
cctp-sample-app
cctp-sample-app PublicForked from circlefin/cctp-sample-app
Sample app to demonstrate capabilities of Cross-Chain Transfer Protocol (CCTP)
TypeScript
-
Helper function to handle throws
Helper function to handle throws 1export const mightThrow = async <T>(
2promise: Promise<T>,
3): Promise<[T, undefined] | [undefined, Error]> => {
4try {
5const result = await promise;
-
retry / poll until a condition is met
retry / poll until a condition is met 1export const sleep = async (ms = 1000) => new Promise((res) => setTimeout(res, ms));
23export const retry = async <T>(
4fn: () => Promise<T>,
5condition: (res: T) => boolean,
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.