{"repo":"smithSophiav/EtherWallet","free":true,"listed":false,"github":"https://github.com/smithSophiav/EtherWallet","clone":"git clone https://github.com/smithSophiav/EtherWallet.git","description":"以太坊钱包 web3swift lib、Generate Account、Import Account、ETH Transfer、ERC20 Transfer、Get ETH Balance、ERC20 Balance、Estimate Transaction Fee with Swift.","language":"Swift","stars":29,"topics":["ethereum","ethereum-dapp","etherwallet","web3","web3j","web3swift","web3wallet","ethereum-contract"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"EtherWallet EtherWallet is an iOS toolbelt for interaction with the Ethereum network. For more specific usage, please refer to the demo Swift Package Manager Example usage in Swift Package Manager Quick Start 1. Create and setup (must be called before any other API; loads the JS bundle). 2. Call APIs — All methods have both completion-handler and async variants. Use async when you are in an async context (e.g. Task or async function). --- API Reference Wallet Method Description Returns -------- ------------- -------- generateAccount(password: String?) Create new wallet (mnemonic + derived key). Optional password returns keystore in result. [String: Any]? → address, privateKey, mnemonic, keystore? importAccountFromPrivateKey(privateKey:) Import from hex private key. address, privateKey importAccountFromMnemonic(mnemonic:) Import from 12/24-word mnemonic (first account). address, privateKey, mnemonic importAccountFromKeystore(json:password:) Import from Keystore JSON string. address, privateKey, keystore privateKeyToKeystore(privateKey:password:) Encrypt private key to Keystore JSON (light PBKDF2). Keystore JSON string or nil getAddressFromPrivateKey(privateKey:) Get Ethereum address from private key. Address string or nil Example --- Sign & Verify Message (EIP-191) Method Description Returns -------- ------------- -------- signMessage(privateKey:message:) Sign message with private key (personal sign). Signature hex or nil verifyMessage(message:signature:) Recover signer addres","default_branch":null,"files":null,"tree":[],"storefront":"/r/smithSophiav","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/smithSophiav/EtherWallet/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}