Create a page to function as calculator for units like ether, gwei or wei.- Create a Unit Converter for USDT/USDC(decimal 6)
- Create a coppy button
- create a hex->10 function
Create an article to show how to understand the Crypto scene's languages including memesCreate a webhook to integrate with discordCreate a function for searching- Create a twitter bot to tweet about JPYC whale alert
- Pull uniswap price data as oracle data into website page
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
// MIT | |
pragma solidity ^0.8.13; | |
// Runtime code | |
// Creation code | |
// Factory code | |
contract Factory { |
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
from web3 import Web3 | |
import os | |
import hashlib | |
# Function to extract signatures | |
def extract_function_signatures(src): | |
lines = src.split("\n") | |
function_lines = [ | |
line.strip() for line in lines if line.strip().startswith("function") |
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 | |
// This is considered an Exogenous, Decentralized, Anchored (pegged), Crypto Collateralized low volitility coin | |
// Layout of Contract: | |
// version | |
// imports | |
// errors | |
// interfaces, libraries, contracts | |
// Type declarations |
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.19; | |
// For the cheatsheet, check out the docs: https://docs.soliditylang.org/en/v0.8.13/cheatsheet.html?highlight=encodewithsignature | |
contract Encoding { | |
function combineStrings() public pure returns (string memory) { | |
return string(abi.encodePacked("Hi Mom! ", "Miss you.")); | |
} |
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.14; | |
//Use Create2 to know contract address before it is deployed. | |
contract DeployWithCreate2 { | |
address public owner; | |
constructor(address _owner) { | |
owner = _owner; | |
} | |
} | |
contract Create2Factory { |
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
import fetch from ‘node-fetch’; | |
const getAddress = () => { | |
const address = process.argv[2]; | |
if (!address) { | |
console.log(`Please add the address as script argument`); | |
process.exit(1); | |
} | |
return address; | |
}; | |
const getMatic = async (address) => { |
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.10; | |
contract MultiSigWallet { | |
event Deposit(address indexed sender, uint amount ); | |
event Submit(uint indexed txId); | |
event Approve(address indexed owner, uint indexed txId); | |
event Revoke(address indexed owner, uint indexed txId); | |
event Execute(uint indexed txId); |
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
# ==================== Emojis ==================== | |
# 🎉 :tada: 初めてのコミット(Initial Commit) | |
# 🔖 :bookmark: バージョンタグ(Version Tag) | |
# ✨ :sparkles: 新機能(New Feature) | |
# 🐛 :bug: バグ修正(Bagfix) | |
# ♻️ :recycle: リファクタリング(Refactoring) | |
# 📚 :books: ドキュメント(Documentation) | |
# 🎨 :art: デザインUI/UX(Accessibility) |