Привет. как мне проверить полученную с фронта сигнатуру на js. саму сигнатуру я получил через rpc.rawApi.signData из библиотеки everscale-inpage-provider? если использовать client.crypto.verify_signature из eversdk там нужны сами данные и публичный ключ, а rpc.rawApi.signData просто предлагает саму сигнатуру, без данных.Или полученная сигнатура это и есть данные? =)
S M S вот так работает. спасибо на стороне фронта const data = {} const data_base64 = Buffer.from(JSON.stringify(data), 'utf8').toString('base64') const encode = await rpc.rawApi.signData({ publicKey, data: data_base64 }) отправляем {data: data_base64, publicKey, signature: encode?.signature} на стороне сервера получаем {data: data_base64, publicKey, signature} const EVERCLOUD_KEY = process.env.EVERCLOUD_KEY const ENDPOINTS = `https://mainnet.evercloud.dev/${EVERCLOUD_KEY}/graphql` const provider = new ProviderRpcClient({ provider: EverscaleStandaloneClient.create({ connection: { id: 42, type: 'graphql', data: {endpoints: [ENDPOINTS]} } }) }) const data_string = Buffer.from(data_base64, 'base64').toString('utf8') const isValid = await provider.verifySignature({ publicKey, signature, dataHash: sha256(data_string) })
E A I answered him in pm Hello, Bug bounty program closed now, as I know. Can you write to @everscale channel or @broxus_chat channel. I hope that community managers can help you
Everscale Dev EN🛠Evercloud Dashboard Release 0.4.0
🔥New
- Added FLD and TON network support.
FLD is the beta test network for Everscale protocol updates. You can first try out all the newest network features on it. TON is the Toncoin mainnet - sister-network based on the original Telegram-developed node.
- Ad
Hello the ton wallet it's so difficult to transfer or swap to other network tokens like Solana etc is there a solution to this?
Everscale Dev
Ссылка
нажмите — покажем
нажмите — покажем
🆕 TVM-Solidity plugin for JetBrains IDE v1.8
🪄Features:
◽️Built-in elements have been updated up to the 0.77.0 compiler version
🛠Bugfixes:
◽️Inspections are compatible with the original Solidity plugin now
◽️Nested elements inside a contract are now ignored by the UnusedElement inspection
◽️Improved handling of the // noinspection tag
#ide
1 · 779 ·