Migrate to hero ledger gateway client #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_gateway_client"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Migrate all Hero Ledger operations from the backend proxy to the browser-native
heroledger_gateway_client, and add encrypted mnemonic vault storage using Web Crypto API.Changes
Gateway client migration (Phase 1-2)
heroledger_gateway_clientdependency (WASM-compatible, fromlhumina_code/hero_ledger)heroledger.rswrapper with typed methods: account activation, existence check, SPORE balance/transfer, marketplace listings, token registrationset_credentials_from_mnemonic()Encrypted vault integration (Phase 3)
vaultfeature: bumpweb-systo 0.3.90,wasm-bindgento 0.2.113vault_save,vault_load,vault_list,vault_exists,vault_removeBackend cleanup (Phase 4-5)
near_tx.rsentirely (-271 lines)api.rs(~-842 lines)state.rs(NearConfig, pending stores, http_client)/heroledger/*routes frommain.rssha2,bs58,reqwestfrom backend depsshared/src/lib.rs(~-130 lines)api.rsTests and CI
scripts/smoke-test.sh)scripts/run-smoke-tests.sh).forgejo/workflows/test.yml): compile, clippy, fmt, unit teststest-all,smoke-testNet impact
Testing
cargo check -p portal-backend— cleancargo check -p portal-frontend --target wasm32-unknown-unknown— cleancargo fmt --all -- --check— cleanCloses #5
WIP: Migrate to hero ledger gateway clientto Migrate to hero ledger gateway client