How to sync wallet using peers connection like Full node

How to sync wallet using peers connection like Full node