mshauneu / smart-contract-flutter-starter-kit

Ethereum wallet using an ERC-20 smart contract

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ethereum wallet using an ERC-20 smart contract

A digital wallet app, developed in dart language and flutter framework. This app can transfer tokens from one wallet to another, through an ERC-20 Ethereum contract.

What's being used

The smart contract

Feel free to check out the smart contract used in this project https://github.com/mshauneu/smart-contract-starter-kit

Getting started

Run Ganache UI

1

TatooineCoin (TC) ICO

npx hardhat --network ganache deploy:tc

Find TC contract address

2

Check balances

npx hardhat --network ganache exec:tc --address 0x5CBE9A4B158558B0abA87A2adC74AA76D8d9da71

Example output:

0xa9A53B0b9F5B50AD4b7F296dA342A819A67f5d29 - 100000000
0x06308E766B42fB089d5482e1DD1238591c920577 - 0
0x251F05a4d55A308B91722e721eb2b64787313bDF - 0

Find PrivateKey

4

Update AppConfig

3

Run App

flutter pub get packages
flutter packages pub run build_runner build
flutter run -d chrome

Import wallet

Hi Import wallet button, select Private Key:

5

Select Local (Ganeche) network

6

Find Recepient Address

7

Transfer TC

8

License

This source code is licensed under the MIT license found in the LICENSE.txt file.

About

Ethereum wallet using an ERC-20 smart contract

License:MIT License


Languages

Language:Dart 92.1%Language:HTML 5.2%Language:Ruby 1.9%Language:Swift 0.6%Language:Kotlin 0.2%Language:Objective-C 0.1%