Skip to content

Instantly share code, notes, and snippets.

View Oluwatobilobaoke's full-sized avatar
🎯
Focusing

Okekunle Oluwatobiloba Samuel Oluwatobilobaoke

🎯
Focusing
View GitHub Profile
@Oluwatobilobaoke
Oluwatobilobaoke / arb-sweeper.js
Created April 24, 2023 22:26
Sweeper bot on arbitruim
const { ethers } = require("ethers");
const TelegramBot = require("node-telegram-bot-api");
const TELEGRAM_BOT = "6008271903:";
const TELEGRAM_ID = "";
const RECEIVER_ADDRESS = "";
const PRIVATE_KEYS = [
"", //
];
Verify Github on Galaxy. gid:tQwmHWpMiLRwcnxUVuqNdX
@Oluwatobilobaoke
Oluwatobilobaoke / proposal.md
Last active March 22, 2022 04:47
Blockgames Task - OnBoarding - by Oluwatobiloba Okekunle - oluwatobilobaoke

Introduction:

Web3 is here, and a lot of people are hyping it and happy about it, web3 solves some problems like security of funds, no centalization, easy wallet setups, able to send money to another person in aany corner of the continent etc, that speaks a lot. But there's poor onboarding into the web3, many new users aint fuuly good with web2, talkless of web3 that does have quite a number of complexity, there should be incentives to get many users into web3 world with the easiest way possible

Body: Creating games to help navigate users into web3, what the basic terms needed means, eg: wallet, seed phrase, gas fee, erc token, bsc token, private key. Navigational illustrations helping use to create wallet wth wallet providers, how to sell and buy tokens. Create a series of Videos to talk on wallets, exchages: dex and cex, marketplace, how to flip nft, what nft means and a whole of things in the web3 world.

/* eslint-disable consistent-return */
module.exports = {
employeeSignup: (req, res) => {
const loggedIn = req.session.isLoggedIn;
let message = req.flash('error');
if (message.length > 0) {
[message] = message;
} else {
message = null;
}
/* eslint-disable consistent-return */
const router = require('express').Router();
const passport = require('passport');
// <----------------------- GOOOGLE ROUTE AND CONTOLLERS ------------------------------>
// get employer profile details from google
router.get(
'/auth/employer/google',
passport.authenticate('google-employer', { scope: ['profile', 'email'] }),
);
**Profile Creation**
Send as form data, Header application/json
url: http://localhost:3000/v1/employee/profile
image: upload file,
firstName:
lastName:
userType
phoneNo
hngId
userName
{
"status": "success",
"data": {
"all_employee_data": [
{
"id": 1,
"user_type": "HNG",
"verification_status": "Pending",
"first_name": "Jane",
"last_name": "Doe",
<form class="form-signin" name="signUpForm" id="signUpForm" action="" method="POST" novalidate>
<div class="third-party-signups">
<a class="button google-branded-button j-third-party t-google-signup" href="#">
<span class="google-branded-button-icon">
<img src="./assets/img/svg/google-icon.svg" alt="Google Icon" />
</span>
<span class="branded-button-text google-branded-button-text">Sign Up with Google</span>
</a>
</div>
<div class="or-seperator"><b>or</b></div>