constructing... Flutter, Ganache, Truffle, Remix, Getx Pattern, Infura, GetX, Blockchain

Overview

etherum_wallet

constructing...

dependencies:
  flutter:
    sdk: flutter
  get:
  web3dart: ^2.1.4
  web_socket_channel:
  velocity_x:
  http:

1 - Instalar Ganache.
2 - Criar funções do abi no Remix

    pragma solidity ^0.5.0;

contract TodoList{
    uint public taskCount;
    
    struct Task{
        string taskName;
        bool isComplet;
    }
    mapping(uint => Task) public todos;
    
    event TaskCreated(string task, uint taskNumber);
    
    constructor() public {
        taskCount = 0;
    }
    
    function createTask(string memory _taskName) public {
        //add task mapping and imcrement taskCount
        todos[taskCount++] = Task(_taskName, false);
        //emit event
        emit TaskCreated(_taskName, taskCount - 1);
    }
    
}

3 - npm install -g truffle e dentro da pasta do projeto $truffle init
3.1 - Na pasta contracts criada após o comando anterios colar criar um arquivo TodoList.sol e colar sua classe do Remix la assim como no passo 2
4 - Buildar seu código no remix
5 - Deploy do seu contrato pelo remix
6 - em seu truffle-config.js

", port: port-ganache, network_id:"*" }, advanced:{ websockets : true, }, }, contracts_build_directory:"./assets/files/",//diretorio onde ficarao os arquivos abi *.json compilers: { solc: { optimizer :{ enabled: true, runs: 200 } } } } ">
module.exports = {
  networks:{
    development:{
      host:"
    
     "
    ,
      port: port-ganache,
      network_id:"*"
    },
    advanced:{
      websockets : true,
    },
    
  },
  contracts_build_directory:"./assets/files/",//diretorio onde ficarao os arquivos abi *.json
  compilers: {
    solc: {
      optimizer :{
        enabled: true,
        runs: 200
      }
    }
  }
}

7 - Criar arquivo na pasta migrations gerada pelo truffle init com o seguinte conteudo

const TodoList = artifacts.require("TodoList");

module.exports = function (deployer) {
  deployer.deploy(TodoList);
};

8 - Rode $ truffle migrate

Inspirado em

https://www.youtube.com/watch?v=3Eeh3pJ6PeA A new Flutter project.

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

You might also like...

A blockchain based voting application built as a project for KJSCE Hack 6.0

Secure Vote A decentralized and transparent Blockchain-based voting application, built with Flutter, a Solidity Smart contract, Firebase and Infura as

Nov 15, 2022

Naan is an easy to use and secure wallet for NFTs & DeFi on the Tezos blockchain.

Naan is an easy to use and secure wallet for NFTs & DeFi on the Tezos blockchain.

Naan - A Tasty Tezos Wallet Naan is a fun, simple, and secure way to create a Tezos wallet, collect NFTs, and explore the new world of Web3 on Tezos.

Aug 26, 2022

Food Delivery on Blockchain

Food Delivery on Blockchain

Food Delivery on Blockchain This research is an application development to increase the reliability of food delivery businesses. By applying proven an

May 19, 2022

MedRec: Using Blockchain for Medical Data Access and Permission Management

MedRec:  Using Blockchain for Medical Data Access and Permission Management

MedRec Medical records need innovation. Patients leave data scattered across various jurisdictions as life events take them away from one provider’s d

Sep 14, 2022

DeFi Scan - Mobile BlockChain Explorer app for cryptocurrency accounts.

DeFi Scan - Mobile BlockChain Explorer app for cryptocurrency accounts.

DeFi Scan This is the official repository for DeFi Scan - a mobile blockchain explorer built with Dart/Flutter for searching, curating and storing det

Dec 20, 2022

Flutter-GetX-Toturials - Getx full tutorials for flutter

Flutter-GetX-Toturials - Getx full tutorials for flutter

getx_full_tutorials A new Flutter getx tutorial. This Project Contains: Snackbar

Dec 1, 2022

Flutter getx template - A Flutter Template using GetX package for State management, routing and Dependency Injection

Flutter getx template - A Flutter Template using GetX package for State management, routing and Dependency Injection

Flutter GetX Template (GetX, Dio, MVVM) This Flutter Template using GetX package

Aug 27, 2022

A basic boilerplate template for starting a Flutter GetX project. GetX, Dio, MVVM, get CLI, Localization, Pagination etc are implemented.

A basic boilerplate template for starting a Flutter GetX project. GetX, Dio, MVVM, get CLI, Localization, Pagination etc are implemented.

Flutter GetX Template (GetX, Dio, MVVM) This Flutter Template using GetX package for State management, routing and Dependency Injection (bindings). We

Jan 9, 2023

Flutter GetX Template (GetX, Dio, MVVM)

Flutter GetX Template (GetX, Dio, MVVM)

Flutter GetX Template (GetX, Dio, MVVM) This Flutter Template using GetX package for State management, routing and Dependency Injection (bindings). We

Dec 18, 2022
Owner
Kauê Murakami
Se você pode imaginar, nós conseguimos fazer.
Kauê Murakami
will cover the GetX Named Route, GetX Route Transition, GetX Route Result, GetX Route Argument, GetX Route Parameter etc.

getx_playground 1-navigation #2-reactiv A new Fl 3-SimpleStateManagement 4-GetXControllerExample 5- DependencyExample 6-TranslationExample 7-ThemeExam

null 4 Nov 11, 2022
Petrus Nguyễn Thái Học 193 Dec 29, 2022
This is an on-chain(truffle) ETH wallet with traditional crypto wallet features

This is an on-chain(truffle) ETH wallet with traditional crypto wallet features (including live ETH price display). I enjoyed playing with emojis in this one ??

Chinyeaka Chinonso 15 Dec 7, 2022
Youtube Clone App with GetX & Youtube Data Api V3 [MVC pattern]

Youtube App ✍?? Youtube App Clone with GetX & Youtube Data Api V3 [MVC pattern] ????‍?? Youtube App app is open-source Youtube App app for Android & i

null 6 Nov 6, 2022
Movie App used MVC pattern, Getx for state managment, sqflite for backend database

movie_app A new Flutter application. Getting Started This project used MVC pattern, Getx for state managment, sqflite for backend database, firebase/W

HM Badhon 3 Sep 13, 2022
A mobile-responsive blockchain website built with flutter. NB: For educational purposes.

Excursy A mobile-responsive blockchain website built with flutter. Build flutter build web --web-renderer html --release or flutter build web --web-re

Bukunmi Aluko 10 Oct 25, 2022
(Top 10 GDG Devfest 2021) Mobile Application to prove intellectual property rights using blockchain technology and NFT

brainshield A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if t

Nguyen Minh Dung 4 Jan 12, 2022
Tezart helps to interact with ​Tezos blockchain.

Tezart What it is Tezart is a Dart library for building decentralized applications on Tezos blockchain. Tezart interacts with a Tezos node to send tra

MoneyTrack 21 Dec 14, 2022
Official Sonr Blockchain Node implementation with Frontend Clients to access Wallet.

Sonr Blockchain Sonr-Chain is a blockchain built using Cosmos SDK and Tendermint and created with Starport. Get started starport chain serve serve com

Sonr 625 Dec 29, 2022
Dart web3 - A dart library that connects and interacts with the Ethereum blockchain

dart_web3 A dart library that connects and interact with the Ethereum blockchain

p2bh 9 Sep 13, 2022