feat: add XCM teleport and CI/CD deployment workflow

Features:
- Add XCMTeleportModal for cross-chain HEZ transfers
- Support Asset Hub and People Chain teleports
- Add "Fund Fees" button with user-friendly tooltips
- Use correct XCM V3 format with teyrchain junction

Fixes:
- Fix PEZ transfer to use Asset Hub API
- Silence unnecessary pallet availability warnings
- Fix transaction loading performance (10 blocks limit)
- Remove Supabase admin_roles dependency

CI/CD:
- Add auto-deploy to VPS on main branch push
- Add version bumping on deploy
- Upload build artifacts for deployment
This commit is contained in:
2026-02-04 11:35:25 +03:00
parent 9d57473000
commit 02094a3635
18 changed files with 1049 additions and 113 deletions
+4 -4
View File
@@ -24,7 +24,7 @@ export async function checkCitizenStatus(
try {
// Check if Identity KYC pallet exists
if (!api.query?.identityKyc?.kycStatuses) {
console.warn('Identity KYC pallet not available');
if (import.meta.env.DEV) console.log('Identity KYC pallet not available on this chain');
return false;
}
@@ -61,7 +61,7 @@ export async function checkValidatorStatus(
try {
// Check if ValidatorPool pallet exists
if (!api.query?.validatorPool?.poolMembers) {
console.warn('ValidatorPool pallet not available');
if (import.meta.env.DEV) console.log('ValidatorPool pallet not available on this chain');
return false;
}
@@ -142,7 +142,7 @@ export async function checkTikiRole(
try {
// Check if Tiki pallet exists
if (!api.query?.tiki?.userTikis) {
console.warn('Tiki pallet not available');
if (import.meta.env.DEV) console.log('Tiki pallet not available on this chain');
return false;
}
@@ -285,7 +285,7 @@ export async function checkStakingScoreTracking(
try {
if (!api.query?.stakingScore?.stakingStartBlock) {
console.warn('Staking score pallet not available');
if (import.meta.env.DEV) console.log('Staking score pallet not available on this chain');
return false;
}