const NUM_OPS = 300000
const NUM_ELS = 100
const ops = []
const {random, floor} = Math
let arr, set
for(let i = 0; i < NUM_OPS; ++i) ops.push([random() < 0.5, floor(random()*NUM_ELS)])
View single dapp chain (sdc)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Just going to leave this here... the future will see hundreds of thousands of single dapp chains. | |
Different services have different transactional demand. | |
Having multiple services on the same chain is like forcing people to pay for jet fuel whether | |
they are flying across the planet or just mowing their lawn. |
View GenericNFT.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
pragma experimental ABIEncoderV2; | |
import "https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/master/contracts/token/ERC721/ERC721.sol"; | |
import "https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/master/contracts/utils/Counters.sol"; | |
contract GenericNFT is ERC721 { | |
View README.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REMIX EXAMPLE PROJECT | |
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer. | |
It contains 3 directories: | |
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name. | |
2. 'scripts': Holds two scripts to deploy a contract. It is explained below. | |
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity. | |
SCRIPTS |
View README.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REMIX EXAMPLE PROJECT | |
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer. | |
It contains 3 directories: | |
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name. | |
2. 'scripts': Holds two scripts to deploy a contract. It is explained below. | |
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity. | |
SCRIPTS |
View README.md
View keybase.md
Keybase proof
I hereby claim:
- I am flcoder on github.
- I am flcoder (https://keybase.io/flcoder) on keybase.
- I have a public key ASCm8O724_-ffPZR815D71N0gBI9XnwqL5toy8Yi0bcCXAo
To claim this, I am signing this object: