Skip to content

Instantly share code, notes, and snippets.

View BdVade's full-sized avatar

Victor Aderibigbe BdVade

View GitHub Profile
@BdVade
BdVade / a16z-crypto-canon.md
Created April 30, 2022 20:38 — forked from arthurgousset/a16z-crypto-canon.md
a16z's Crypto Canon (markdown)
@BdVade
BdVade / RPCNodeHistoricalVolume.py
Last active May 3, 2022 01:09
Two Scripts to compile the volume traded of a token on a pool from it's AMM . 1 through Solscan The other through an RPC Node
import requests
import time
import json
def get_amm_historical_volume_from_rpc_node(amm_address: str):
url = 'https://api.mainnet-beta.solana.com/'
rerun = True
volumes = []
volume = 0
@BdVade
BdVade / index.rsh
Last active April 27, 2022 23:22
Reach smart Contract for decho
const ProjectDetails = Object({
name:Bytes(32),
url:Bytes(32),
approvalLimit: UInt,
approvalDeadline: UInt,
donationLimit: UInt,
donationDeadline: UInt,
fowardingAccount: Address
})

Block games Rewards System

Introduction

This Idea was sparked as a result of Companies withholding funds belonging to workers or clients in wallet systems because the said clients are in Russia. The Proposal is to use an etheruem account whose keeys are held by the workers or clients to hold funds to avoid such Indescretions in the future. This is us Introducing etheruem wallets into systems rather than the normal wallet systems in use or being built.

Details

I'd be using an example of a freelancing website.

@BdVade
BdVade / main.py
Created October 27, 2021 03:57 — forked from MorganBorman/main.py
A short example of how to use vertex array objects in PyOpenGL
import OpenGL.GL as GL
import OpenGL.GL.shaders
import ctypes
import pygame
import numpy
vertex_shader = """
#version 330
in vec4 position;