Walletclient

Some refinements + run script for a test, still some work todo