Описание изменений

This commit is contained in:
2025-02-19 12:36:38 +03:00
parent b56e6b5e46
commit 7cb967138d
20 changed files with 1886 additions and 297 deletions

View File

@@ -0,0 +1,9 @@
import { ethers } from 'ethers';
export const formatAddress = (address: string): string => {
return `${address.slice(0, 6)}...${address.slice(-4)}`;
};
export const isValidAddress = (address: string): boolean => {
return ethers.isAddress(address);
};