Skip to content

Instantly share code, notes, and snippets.

View sokunsamnang's full-sized avatar
🎯
Focusing

Sam Allen sokunsamnang

🎯
Focusing
View GitHub Profile
@sokunsamnang
sokunsamnang / .gitignore
Created September 5, 2023 04:16 — forked from dileepadev/.gitignore
.gitignore for Flutter projects
### ------------------------- Flutter.gitignore ------------------------ ###
# Miscellaneous
*.class
#*.lock
*.log
*.pyc
*.swp
.DS_Store
.atom/
INFURA_URL_TESTNET=
WALLET_ADDRESS=
WALLET_SECRET=
  • learn blockchain concepts
  • learn ethereum
  • learn how to use metamask
  • learn how to use hardhat (https://hardhat.org/)
  • learn how to deploy and interact with a smart contract
  • learn common smart contract standards like ERC20 (token), ERC721 (nft), ERC1155 (opensea)
  • learn ipfs
  • learn how to read blockchain explorers like https://etherscan.io/
  • learn how to use web3 and etherjs
  • learn solidity
import 'package:flutter/material.dart';
import 'package:connectivity_widget/connectivity_widget.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget{
Widget build(context){
ConnectivityUtils.instance.setCallback((response) => response.contains("This is a test!"));
ConnectivityUtils.instance.setServerToPing("https://gist.githubusercontent.com/Vanethos/dccc4b4605fc5c5aa4b9153dacc7391c/raw/355ccc0e06d0f84fdbdc83f5b8106065539d9781/gistfile1.txt");