Skip to content

Instantly share code, notes, and snippets.

@PratapTyagi
PratapTyagi / BasicERC20.sol
Created October 5, 2021 18:24 — forked from giladHaimov/BasicERC20.sol
Basic ERC20 implementation
pragma solidity ^0.4.19;
contract ERC20Basic {
string public constant name = "ERC20Basic";
string public constant symbol = "BSC";
uint8 public constant decimals = 18;
event Approval(address indexed tokenOwner, address indexed spender, uint tokens);
@PratapTyagi
PratapTyagi / Loader.css
Created August 12, 2021 08:19
Loader code for html
/* Loader styling */
.loading {
display: inline-block;
width: 50px;
height: 50px;
border: 3px solid var(--font-color);
margin: 0 auto;
margin-top: 10px;
border-radius: 50%;
border-top-color: #fff;
@PratapTyagi
PratapTyagi / FileInput.css
Created August 12, 2021 08:16
Input File through this code
/* Input Styling */
.newCampaign__container > .container {
display: flex;
align-items: flex-start;
justify-content: flex-start;
width: 100%;
margin-top: 10px;
}
@PratapTyagi
PratapTyagi / url
Created August 3, 2021 12:19
For getting random avatars for free
https://avatars.dicebear.com/api/human/${
Math.random() * 5000
}.svg