Ethereum wallet using an ERC-20 smart contract.
A digital wallet app developed in dart and flutter. 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
- QR code scanner to scan addresses
- Web3Dart to interact with Ethereum blockchain
- Flutter hooks to manage widget life-cycle.
- Solidity smart contract
Wallet | Change network | Transfer tokens |
---|---|---|
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
running on the browser
$ flutter run -d web-server
How to run tests
$ flutter test
For those who don't want to play with smart contracts yet, you can claim some test tokens by following links below, or check 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
To process transactions on the network, you will also need coins to pay the transaction fees (gas). Use one of the following links to claim some coins depending on the network you are working on:
- Goerli: https://goerlifaucet.com/
- Polygon (old MATIC): https://faucet.polygon.technology/
- BSC: https://testnet.binance.org/faucet-smart
Link for the smart contract used for this project https://github.com/allanclempe/ether-wallet-contract
If you enjoy my work, a small donation would be greatly appreciated.
BTC | ETH |
---|---|
bc1qkvjec6dhr94jvlvqqjpuv7n3vz8j0h89nle6n3 | 0xE4B2ca20D15109b0a2Eef933678C496A1a798173 |
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