Migrating wallet code from BitShares X