Skip to content

Instantly share code, notes, and snippets.

View MaxMoskalenko's full-sized avatar
🌝

MaxMoskalenko

🌝
  • Yellow Network
  • Kyiv, Ukraine
View GitHub Profile
FROM node:lts-alpine
WORKDIR /app/
RUN addgroup -g 1001 -S nodejs
RUN adduser -S nextjs -u 1001
RUN apk add --no-cache libc6-compat curl
COPY package.json package-lock.json /app/
We can't make this file beautiful and searchable because it's too large.
path,address,public key,private key
m/44'/60'/0'/0/0,0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266,,0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
m/44'/60'/0'/0/1,0x70997970C51812dc3A010C7d01b50e0d17dc79C8,,0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d
m/44'/60'/0'/0/2,0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC,,0x5de4111afa1a4b94908f83103eb1f1706367c2e68ca870fc3fb9a804cdab365a
m/44'/60'/0'/0/3,0x90F79bf6EB2c4f870365E785982E1f101E93b906,,0x7c852118294e51e653712a81e05800f419141751be58f605c371e15141b007a6
m/44'/60'/0'/0/4,0x15d34AAf54267DB7D7c367839AAf71A00a2C6A65,,0x47e179ec197488593b187f80a00eb0da91f1b9d0b13f8733639f19c30a34926a
m/44'/60'/0'/0/5,0x9965507D1a55bcC2695C58ba16FB37d819B0A4dc,,0x8b3a350cf5c34c9194ca85829a2df0ec3153be0318b5e2d3348e872092edffba
m/44'/60'/0'/0/6,0x976EA74026E726554dB657fA54763abd0C3a0aa9,,0x92db14e403b83dfe3df233f83dfa3a0d7096f21ca9b0d6d6b8d88b2b4ec1564e
m/44'/60'/0'/0/7,0x14dC79964da2C08b23698B3D3cc7Ca32193d9955,,0x4bbbf85ce3377467afe5d46f804f2
{"level":"info","time":1711636862061,"module":"rpc","data":"{\"jsonrpc\":\"2.0\",\"id\":2,\"result\":\"0x47c3d77104f9770684a79e1a41634191b1907bc2d03e430bea83ed5565a58a1b\"}","method":"eth_sendUserOperation","msg":"sent reply"}
{"level":"error","time":1711636863409,"module":"executor","userOperations":["0xb4ee6ef180fdbb6d14a035fa720e90f54aceb2ffad104076489849dff2ab4ced","0x31cfa36abfcb0fde85f29bdd5dfc61c2c7abc23c04f57e0b4bda59402c63762d","0x47c3d77104f9770684a79e1a41634191b1907bc2d03e430bea83ed5565a58a1b"],"entryPoint":"0x5FbDB2315678afecb367f032d93F642f64180aa3","error":"{\"details\":\"nonce too low\",\"docsPath\":\"/docs/contract/estimateContractGas\",\"metaMessages\":[\"Estimate Gas Arguments:\",\" from: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266\\n to: 0x5FbDB2315678afecb367f032d93F642f64180aa3\\n data: 0x1fad948c0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb92266000000000000
[
"spot://USDC/USDT",
"spot://WBTC/USDT",
"spot://WETH/USDT",
"spot://USDC/WETH",
"spot://WBTC/WETH",
"spot://LUBE/WETH",
"spot://ALIEN/WETH",
"spot://BUSD/WETH",
"spot://DUCKIES/USDC"
package main
import (
"fmt"
"io/ioutil"
"net/http"
)
func main() {
response, err := http.Get("http://pokeapi.co/api/v2/pokedex/kanto/")
package main
import (
"bufio"
"encoding/json"
"fmt"
"io/ioutil"
"os"
"path/filepath"
"strconv"
import { NextApiRequest, NextApiResponse } from 'next';
import { Body, createMocks, Headers, RequestMethod } from 'node-mocks-http';
import handler from 'pages/api/v2/private/bounties/claim';
jest.mock(
'jose',
jest.fn(() => ({ jwtVerify: jest.fn() })),
);
jest.mock('helpers/getUserFromHeaders');
import { fireEvent, render, screen } from '@testing-library/react';
import React from 'react';
import { ReduxProvider } from '../../../providers/ReduxProvider';
import { OTPModal } from './';
const setIsOpen = jest.fn();
const setStateMock = jest.fn();
const useStateMock: any = (useState: any) => [useState, setStateMock];
jest.spyOn(React, 'useState').mockImplementation(useStateMock);
const crypto = require('crypto');
const { SignJWT } = require('jose');
async function generateKeys() {
const { privateKey } = crypto.generateKeyPairSync('ec', {
namedCurve: 'secp256k1',
publicKeyEncoding: {
type: 'spki',
format: 'pem',
},
privateKeyEncoding: {

Keybase proof

I hereby claim:

  • I am maxmoskalenko on github.
  • I am maxmoskalenko (https://keybase.io/maxmoskalenko) on keybase.
  • I have a public key ASBdmNlAjM-hLavrl9F7IK-7eMLLG6LDW267rXGLdM05Mwo

To claim this, I am signing this object: