Skip to content

Instantly share code, notes, and snippets.

View jerydam's full-sized avatar
🎯
Focusing

Jeremiah Oyeniran Damilare jerydam

🎯
Focusing
View GitHub Profile
@jerydam
jerydam / assEns.sol
Last active February 3, 2023 18:39
This is my first smart contract that implements a simple ENS name registry. It allows users to register their name and assign it to their Ethereum address, and also allows users to change their registered name. The contract also provides a function to look up the address of a registered name. The contract uses two mappings to store the name to a…
// @CyberhackB
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;
contract newUser{
event NameRegistered( address owner, string name);
event NameChanged(address owner, string newName);
mapping(address => string) public names;
@jerydam
jerydam / classwork.sol
Created February 3, 2023 17:09
my ens register account smart contract
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;
contract newUser{
event NameRegistered( address owner, string name);
event NameChanged(address owner, string newName);
mapping(address => string) public names;
mapping(string => address) public addresses;
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.7;
//Token Contracts
//total supply, decimal, name and symbol
contract W3BVIII{
@jerydam
jerydam / web3token.sol
Last active February 8, 2023 11:25
This is a Solidity code for creating an ERC20 token using OpenZeppelin contracts. The code defines a contract called "W3BVIII" which inherits the ERC20 standard. The contract constructor takes an amount parameter, which is used to mint the tokens to the contract address. The token price is set to 2 ether. The "buyToken" function allows users to …
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.17;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol";
contract W3BVIII is ERC20{
// constructor() ERC20("W3Bridge", "W3B"){
//.call
//.send
@jerydam
jerydam / student.sol
Last active February 8, 2023 21:01
This code is a smart contract written in the Solidity programming language for the Ethereum blockchain. It represents a contract named "StudentDetails" which provides functionality for registering, retrieving, and deleting information about students. The information about each student is stored as a struct named "Data" which includes fields for …
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.17;
contract StudentDetails{
struct Data{
string name;
uint Id;
@jerydam
jerydam / Istudent.sol
Created February 8, 2023 21:11
The contract al defines an interface named "IStudents" that specifies the functions that a contract must implement in order to be considered an "IStudents" contract. The interface includes three functions
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.17;
struct Data{
string name;
uint Id;
uint age;
string gender;
bool status;
}
@jerydam
jerydam / newChairman.sol
Created February 9, 2023 16:48
This code defines a smart contract named "Chairman" in the Solidity programming language. It is licensed under the GPL-3.0 license. The contract imports the "IStudent.sol" file which defines the interface "IStudents". The "Data" struct is also imported from the "IStudent.sol" file.
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.17;
import {IStudents, Data} from "./Istudent.sol";
contract Chairman{
address[] staffs;
address Admin;
@jerydam
jerydam / constructor.ts
Last active August 27, 2023 21:17
nft class
module.exports = [
"name",
"symbol"
]
import { ethers } from 'hardhat';
async function main() {
const token = await ethers.deployContract('Joel');
await token.waitForDeployment();
console.log('token Contract Deployed at ' + token.target);
}

🎮 Seed Phrase Recovery Game

This guide outlines the steps to play this quiz game and recover access to two separate crypto wallets.


📋 Game Overview

You have two different wallets, each protected by a 12-word seed phrase. Three words in each phrase are missing. Answer the quiz questions correctly to reveal the missing words and gain access to both wallets.