ваше сообщение коммита

This commit is contained in:
2025-09-30 00:23:37 +03:00
parent ca718e3178
commit 4b03951b31
77 changed files with 17161 additions and 7255 deletions

View File

@@ -43,6 +43,10 @@ export async function connectWithWallet() {
const nonceResponse = await axios.get(`/auth/nonce?address=${address}`);
const nonce = nonceResponse.data.nonce;
// console.log('Got nonce:', nonce);
if (!nonce) {
throw new Error('Не удалось получить nonce с сервера');
}
// Создаем сообщение для подписи
const domain = window.location.host;
@@ -73,7 +77,7 @@ export async function connectWithWallet() {
// chainId: 1,
// nonce,
// issuedAt,
// resources: [`${origin}/api/auth/verify`],
// resources: [`${origin}/auth/verify`],
// });
// Запрашиваем подпись