Skip to content

Instantly share code, notes, and snippets.

@Ahmed50ayman
Ahmed50ayman / it-ebooks.md
Created December 12, 2021 17:50 — forked from baiwfg2/it-ebooks.md
Download ebooks as you want
@Ahmed50ayman
Ahmed50ayman / BasicERC20.sol
Created November 17, 2021 18:29 — 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);

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096