{{ __('Blockchain Wallets') }}

Total Blockchain Portfolio

@php $totalUSD = 0; foreach ($balances as $addressId => $balance) { if (!isset($balance['error'])) { $address = $addresses->firstWhere('uuid', $addressId); $chain = $supportedChains[$address->chain]; $rate = $usdRates[$chain['symbol']] ?? null; if ($rate !== null) { $totalUSD += $balance['balance'] * $rate; } } } @endphp

Total Value (USD)

${{ number_format($totalUSD, 2) }}

Active Addresses

{{ $addresses->where('is_active', true)->count() }}

Total Transactions

{{ $recentTransactions->count() }}

Your Blockchain Addresses

@if($addresses->isEmpty())

No blockchain addresses yet

Generate Your First Address
@else
@foreach($addresses as $address) @php $balance = $balances[$address->uuid] ?? ['balance' => 0, 'error' => true]; $chain = $supportedChains[$address->chain]; @endphp
@if($address->chain === 'bitcoin') @elseif($address->chain === 'ethereum') Ξ @elseif($address->chain === 'polygon') M @else B @endif

{{ $address->label }}

{{ $chain['name'] }}

{{ $address->is_active ? 'Active' : 'Inactive' }}

Address

{{ substr($address->address, 0, 16) }}...{{ substr($address->address, -16) }}

Balance

@if(isset($balance['error']))

Error loading balance

@else

{{ number_format($balance['balance'], 8) }} {{ $chain['symbol'] }}

@if($balance['pending'] > 0)

+{{ number_format($balance['pending'], 8) }} pending

@endif @endif
@endforeach
@endif
@if($recentTransactions->isNotEmpty())

Recent Blockchain Transactions

@foreach($recentTransactions as $transaction) @php $chain = $supportedChains[$transaction->chain]; @endphp @endforeach
Date Type Chain Amount Status Action
{{ $transaction->created_at->format('M d, Y H:i') }} {{ ucfirst($transaction->type) }} {{ $chain['name'] }} {{ $transaction->type === 'send' ? '-' : '+' }}{{ number_format($transaction->amount, 8) }} {{ $chain['symbol'] }} @if($transaction->status === 'confirmed') Confirmed @elseif($transaction->status === 'pending') Pending @else Failed @endif View
@endif
@push('scripts') @endpush