Skip to content

Instantly share code, notes, and snippets.

View CarlosSchell's full-sized avatar

Carlos Schellenberger CarlosSchell

  • Home
  • Porto Alegre - RS - Brazil
View GitHub Profile
@y-pakorn
y-pakorn / flutter_web3_dapp_sample.dart
Last active August 15, 2023 16:26
Source code for Flutter Web3 Dapp Sample
import 'package:flutter/material.dart';
import 'package:flutter_web3/flutter_web3.dart';
import 'package:get/get.dart';
import 'package:niku/niku.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@gorgos
gorgos / ERC20.sol
Created November 28, 2021 01:18
Solana ERC20.sol: Token contract for use with solang compiler
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
contract ERC20 {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;