Ethereum wallet using an ERC-20 smart contract.
A digital wallet app, developed in dart language and flutter framework. The idea is to help developers to understand how to build dApps using blockchain and associated technologies. This app can transfer tokens from one wallet to another, through an ERC-20 Ethereum contract.
- Built in Flutter framework
- Google ML Vision for QRCode scan.
- Web3Dart to interact with Ethereum blockchain
- Flutter hooks to manage widget life-cycle.
Wallet | Send tokens | Processing |
---|---|---|
How to watch/build autogenerated files
$ flutter packages pub run build_runner build # to build
$ flutter packages pub run build_runner watch # to watch
How to run the app
$ flutter pub get packages
$ flutter packages pub run build_runner build
$ flutter run
How to run tests
$ flutter test
For those who don't want to play with smart contracts yet, you can claim some test coins (tokens) and ether using the following links or check out this repo to understand how to deploy your own contract.
Transfer test TOKENS to your wallet:
After setting up your wallet, you will need some tokens to play with. Use the link below to transfer some tokens to your wallet.
Transfer test Ether to your wallet
Also to process transactions on the network, you will also need ETH to pay transaction fees, called gas. You also can claim some using the link below.
just be patient, the transaction might take a while to be processed.
Feel free to check out the smart contract used in this project https://github.com/allanclempe/ether-wallet-contract
2.0.0+7:
- Flutter has been upgraded to version 2.0.6 (dart 2.12.3)
- Handled null-safety
- Removed HDKey class after agreed to add master secret as optional parameter in dart-ed25519-hd-key library. Re-added as dependency.
- Libraries has been upgraded.
- Removed discontinued firebase_ml_vision in favor of qr_code_scanner
- Added menu option to reveal private key
1.3.0+6:
- Flutter has been upgraded to version 2.0.1 (dart 2.12.0).
- Libraries has been upgraded.
- Fixed issue to generate and store private key when imported from seed phrase.
1.2.0+5:
- Flutter has been upgraded to version 1.22 (dart 2.10.5).
- Libraries has been upgraded.
- Small code changes just to get rid of deprecated flutter components.
If you enjoy my work, a small donation would be greatly appreciated.
BTC | ETH |
---|---|
Copyright © 2019-present Allan Clempe. This source code is licensed under the MIT license found in the LICENSE.txt file.
dart wallet cryto flutter eth smart contracts - by Allan Clempe