Skip to content

Instantly share code, notes, and snippets.

View kimerran's full-sized avatar
😻
Focusing

mh kimerran

😻
Focusing
  • Manila, Philippines
View GitHub Profile
@kimerran
kimerran / sample_payload_buy.js
Created April 11, 2025 06:38
polymarket - buy /sell tx
// Order memory takerOrder,
// Order[] memory makerOrders,
// uint256 takerFillAmount,
// uint256[] memory makerFillAmounts
// https://polygonscan.com/inputdatadecoder?tx=0xe129d9a624b609a01624119cefbbbc7f2563e60e99962b54e20d53c1836ddc04
const matchOrdersPayload = {
takerOrder: {
salt: 95879542108,
maker: '0xA81c167004C5EE07F68d0B9F7a8395517897b597',
@kimerran
kimerran / based-metadata.json
Last active March 12, 2025 14:36
selyo-is-based
{
"name" : "Selyo - Building on Base",
"description" : "Selyo now supports its first EVM network",
"image": "https://i.imgur.com/gjF0I39.jpeg",
"symbol" : "EVM-SELYO-TEST"
}
@kimerran
kimerran / metadata.json
Created February 8, 2025 08:11
Test Metadata
{
"name" : "Crush Kita NFT",
"description" : "Happy Valentines Crush! <3",
"image": "https://i.imgur.com/rx6S8QX.jpeg"
}
@kimerran
kimerran / soon.metadata.json
Created December 5, 2024 06:04
mockup-soon-nft
{
"name": "SOON SVM SELYO",
"symbol": "SOON-SELYO-NFT",
"description": "SOON Mock NFT",
"image": "https://i.imgur.com/LbYJabY.jpeg",
"attributes": [
{
"trait_type": "network",
"value": "soon-devnet"
}
@kimerran
kimerran / metadata.json
Created September 13, 2024 06:26
fistbump-metadata
{
"name": "Break Point Fistbump",
"symbol": "ZELYOBUMP",
"description": "Break Point Fistbump by Project Selyo",
"image": "https://i.imgur.com/cwj1WST.jpeg",
"attributes": [
{
"trait_type": "giver",
"value": "9upc6r3ZNcvMWA5DWvZ14Hh3xHs3nxMBK2x7MS5acVN"
},
@kimerran
kimerran / dos.json
Created September 7, 2024 03:17
Eco-call Selyo Testing Metadata
{
"name": "ECOSYSTEM CALL",
"symbol": "SELYO-TEST",
"image": "https://i.imgur.com/sCY1vNT.jpeg",
"attributes": [
{ "trait_type": "project", "value": "quest" },
{ "trait_type": "event", "value": "Superteam Philippines Ecosystem Call" },
{ "trait_type": "organization", "value": "flareblox" }
]
}
{
"name": "Zelyo",
"symbol": "QUEST",
"image": "https://i.imgur.com/o1Tp72Z.jpeg",
"attributes": [
{ "trait_type": "project", "value": "quest" },
{ "trait_type": "organization", "value": "flareblox" }
]
}
@kimerran
kimerran / signing.ts
Last active August 20, 2024 22:50
Solana Signing and Verification (sample code)
// these are just illustration and not complete code
// this is using solana wallet adapter
// need to be base64 encoded as this is meant to be verified at a backend http api
const { publicKey, signMessage } = useWallet()
const handleClickCreateCampaign = async () => {
if (signMessage) {
const message = JSON.stringify(newCampaign)
const signature = await signMessage(Buffer.from(message))
const encodedSignature = Buffer.from(signature).toString("base64")
@kimerran
kimerran / bun-surrealdb-elysia-ethers.ts
Created November 13, 2023 12:32
bun-surrealdb-elysia-ethers.ts
import { Elysia } from "elysia";
import { Surreal } from "surrealdb.node"
// const ethers = require('ethers');
import { ethers } from 'ethers'
const db = new Surreal();
await db.connect('ws://localhost:8000/');
@kimerran
kimerran / ONLINE GROCERIES.md
Created March 14, 2020 14:06
ONLINE GROCERIES

During this challenging time, nothing is more important to us than the health and safety of our family. And buying at supermarkets can make it impossible to do ‘social distancing’ and can even put us at great risk.

Given the situation, it is best to take advantage of ONLINE GROCERIES who can deliver what we need straight to our doorsteps! Here is a list of online groceries available. :)

But with the high demand, expect delivery delays and stock availability may be limited. Please AVOID HOARDING, specially disinfectants, and just buy what you need so others can be protected too.

Keep safe and healthy! :) -Grace The Budget Mama