Skip to content

Instantly share code, notes, and snippets.

View naftalimurgor's full-sized avatar
🐘
Focusing

Naftali Murgor naftalimurgor

🐘
Focusing
View GitHub Profile
@naftalimurgor
naftalimurgor / countries.json
Created February 18, 2022 21:27 — forked from almost/countries.json
A list of countries along 2 letter ISO codes in JSON format (the gist I forked from was valid JS but not valid JSON)
[
{"name": "Afghanistan", "code": "AF"},
{"name": "Åland Islands", "code": "AX"},
{"name": "Albania", "code": "AL"},
{"name": "Algeria", "code": "DZ"},
{"name": "American Samoa", "code": "AS"},
{"name": "AndorrA", "code": "AD"},
{"name": "Angola", "code": "AO"},
{"name": "Anguilla", "code": "AI"},
{"name": "Antarctica", "code": "AQ"},
Compilation finished successfully
deploying "TransferProxy" (tx: 0x35ac5725be4846f1f7fb60e143dd4b4b2eb01c739d88a9979ce3e69bac9314f0)...: deployed at 0x9D55FA33713Cd19409768d04e288103e12812c9b with 640701 gas
executing TransferProxy.__TransferProxy_init (tx: 0x2019be8758c5826174595db2a453543208f8182ff2cdd67ab6a97d61f866502c) ...: performed with 69028 gas
deploying "ERC20TransferProxy" (tx: 0x79e792fefef9b5b73ee667109941a6f4dd5f79f2974ee7a423f21d1bebc9cbdd)...: deployed at 0x94a6E59ED266AEbD9BA92Ca3A8A88eF9780B0F86 with 562181 gas
executing ERC20TransferProxy.__ERC20TransferProxy_init (tx: 0xf88f29cdedff6ae1e511d6ba68871c061a31cb8a3e4f95f6c6abf28353495b19) ...: performed with 69050 gas
deploying "DefaultProxyAdmin" (tx: 0x70ba4f381a4051b47912e102290192f09e111dea90ee26f764635c84a5c61810)...: deployed at 0xE0d209AfA4C6E6EeB18909Cb25270b7D71D2C007 with 671461 gas
deploying "RoyaltiesRegistry_Implementation" (tx: 0x5ca5633ca14bf7e69d75d1a81b555afe5a1791d561678e31c31c4319f3fe2c3d)...: deployed at 0x3C8174A16a8b049c7
@naftalimurgor
naftalimurgor / ultimate-ut-cheat-sheet.md
Created December 1, 2022 13:10 — forked from yoavniran/ultimate-ut-cheat-sheet.md
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai, Sinon, and Jest
@naftalimurgor
naftalimurgor / sdk.evm.ts
Created January 3, 2023 12:13
GhostMarket SDK EVM class
/* eslint-disable @typescript-eslint/no-unused-vars */
import Web3 from 'web3'
import { BigNumber } from '@ethersproject/bignumber'
import {
ERC20WrappedContract,
ExchangeV2Contract,
RoyaltiesRegistryContract,
ERC721Contract,
ERC1155Contract,
} from '../abis'
@naftalimurgor
naftalimurgor / install-bitgesell-core on Ubuntu 18.04+
Created August 25, 2023 09:37
Setup Bitgesell core in Ubuntu 18.04+
```sh
wget wget https://github.com/BitgesellOfficial/bitgesell/releases/download/0.1.9/bitgesell_0.1.9_amd64.deb
wget http://ports.ubuntu.com/pool/main/p/perl/perl-modules-5.30_5.30.0-9build1_all.deb
dpkg -i perl-modules-5.30_5.30.0-9build1_all.deb
dpkg -i bitgesell_0.1.9_amd64.deb
```
run Bitgesell core daemon:
```sh
BGld
@naftalimurgor
naftalimurgor / gist:18066582912c4b6195ec766ca66436d2
Created August 26, 2023 18:24
default test node settings structure
# BGL.conf
rpcbind=0.0.0.0
rpcport=8455
rpcallowip=0.0.0.0/0
regtest=0
printtoconsole=1
rpcuser=localuser
rpcpassword=ICVCZr1kQlwLuYHYV2jRQ33ZBE6t0lc/XYte/JDv2rTe
@naftalimurgor
naftalimurgor / RNfontWeights.js
Created December 3, 2023 13:09 — forked from knowbody/RNfontWeights.js
React Native Font Weight Cheatsheet iOS
{ fontWeight: '100' }, // Thin
{ fontWeight: '200' }, // Ultra Light
{ fontWeight: '300' }, // Light
{ fontWeight: '400' }, // Regular
{ fontWeight: '500' }, // Medium
{ fontWeight: '600' }, // Semibold
{ fontWeight: '700' }, // Bold
{ fontWeight: '800' }, // Heavy
{ fontWeight: '900' }, // Black
@naftalimurgor
naftalimurgor / gist:048f8cac90d0ea669c492b001d44a2e1
Created May 8, 2024 10:32
Contract deploy addresses on Scroll Sepolia
// 1. BENTOBOX
@kynos/bentobox:deploy: deploying "BentoBoxV1" (tx: 0x022396bce46754ae53cd9fed2a9467d3d982cff98919e0e3710cb875a0178050)
Deployed at 0xB1e91fb7F757F6282fc5de650071d75c9bD7aA38 with 3964437 gas
Tasks: 1 successful, 1 total
// 2. KYNOS(formerly Furo)
a) @kynos/kynos:deploy: Kynos Stream deployed to 0x1bbeF2Ee225774318e7ff69505eFfa7A614F7598
@naftalimurgor
naftalimurgor / .tsx
Created August 5, 2024 10:54
_layout.tsx
import AboutUsSN from '@/components/AboutUsSN';
import BackupWalletSN from '@/components/BackupWalletSN';
import CustomDrawerContent from '@/components/CustomDrawerContent';
import { actuatedNormalize, actuatedNormalizeVertical } from '@/components/Dimension';
import DrawerIcon from '@/components/DrawerIcon';
import HelpAndSupportSN from '@/components/HelpAndSupportSN';
import HomeIconSN from '@/components/HomeIconSN';
import ReceiveSN from '@/components/ReceiveSN';
import SendLogoSN from '@/components/SendLogoSN';
import SettingsSN from '@/components/SettingsSN';
/home/nmurgor/git/metropolis_v1/public/index.html
✘ [ERROR] Missing "./providers/jsonRpc" specifier in "wagmi" package [plugin vite:dep-scan]
src/config.ts:2:32:
2 │ import { jsonRpcProvider } from 'wagmi/providers/jsonRpc';
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~
This error came from the "onResolve" callback registered here: