7
0
forked from yvv/decision

Auth Duniter v2 : vérification réelle + extension signing + titres outils
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

Backend :
- Vérification Sr25519/Ed25519 réelle via substrateinterface (bypass démo)
- Message signé : <Bytes>{challenge}</Bytes> (convention polkadot.js)
- DEV_PROFILES : Charlie → Référent structure, Dave → Auteur (WoT member)

Frontend :
- Signing via extension polkadot.js / Cesium2 (_signWithExtension)
- @polkadot/extension-dapp + @polkadot/util installés
- Vite : global=globalThis + optimizeDeps pour les packages polkadot
- Boîte à outils : titres complets des 4 sections

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Yvv
2026-03-24 03:36:51 +01:00
parent 02629c4e68
commit 224e5b0f5e
6 changed files with 2831 additions and 24 deletions

View File

@@ -45,4 +45,13 @@ export default defineNuxtConfig({
nitro: {
compressPublicAssets: true,
},
vite: {
define: {
// Polkadot packages expect a Node-like global
global: 'globalThis',
},
optimizeDeps: {
include: ['@polkadot/extension-dapp', '@polkadot/util'],
},
},
})