full compatibility with electrum