Skip to content

Instantly share code, notes, and snippets.

View libracoder's full-sized avatar
🏠
building out distributed systems that scale

Precious Okwu libracoder

🏠
building out distributed systems that scale
  • Lagos, Nigeria
View GitHub Profile
@libracoder
libracoder / Crowdsale
Created November 22, 2017 16:06
Crowdsale
pragma solidity ^0.4.18;
/// @title Math operations with safety checks
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
keytool -genkey -v -keystore apptest.keystore -alias apptest -keyalg RSA -keysize 2048 -validity 10000