This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sessionId | |
isSessionValid | |
resetSession | |
pendingAuth | |
chat | |
userMessage | |
lastSpecShown |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# // Reconstruct the payload that was **actually signed** | |
# const payload = new Payload({ message: MESSAGE, nonce: CHALLENGE, recipient: APP, callbackUrl: cURL }); | |
# const borsh_payload = borsh.serialize(payloadSchema, payload); | |
# const to_sign = Uint8Array.from(js_sha256.sha256.array(borsh_payload)) | |
# | |
# // Reconstruct the signature from the parameter given in the URL | |
# let real_signature = Buffer.from(signature, 'base64') | |
# | |
# // Use the public Key to verify that the private-counterpart signed the message | |
# const myPK = naj.utils.PublicKey.from(publicKey) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html { | |
box-sizing: border-box; | |
font-size: 13px; | |
} | |
*, | |
*:before, | |
*:after { | |
/*box-sizing: inherit;*/ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const connectHereWallet = (request) => { | |
const id = uuid4(); | |
const data = utils.serialize.base_encode( | |
JSON.stringify({ | |
...request, | |
callbackUrl: "https://my.endpoint.com/", | |
id, | |
}) | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
token_id: '2:bafkreihjbkkpxkysn3cnpsrg2zgznf25lywlybnahzlapxvcu57ebfonpu', | |
owner_id: 'gekis84.tg', | |
metadata: { | |
title: 'UWON NFT', | |
description: 'UWON NFT', | |
media: 'ipfs://2:bafkreihjbkkpxkysn3cnpsrg2zgznf25lywlybnahzlapxvcu57ebfonpu', | |
media_hash: null, | |
copies: null, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http post https://rpc.mainnet.near.org method=tx params:='["4SrZoeVkXvQatksUTTiaXpPxd8owyimHdv3S3yVusqoe", "v1.shillgpt.near"]' jsonrpc=2.0 id=123 | |
HTTP/1.1 200 OK | |
Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000 | |
Transfer-Encoding: chunked | |
access-control-allow-credentials: true | |
access-control-allow-origin: | |
access-control-expose-headers: x-forwarded-for, connection, accept, host, x-cloud-trace-context, content-length, x-forwarded-proto, accept-encoding, content-type, user-agent, via | |
content-encoding: gzip | |
content-type: application/json | |
date: Sun, 17 Mar 2024 16:20:52 GMT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Error = (f) => console.log(f); | |
const CHARSET = "qpzry9x8gf2tvdw0s3jn54khce6mua7l"; | |
const GENERATOR = [0x3b6a57b2, 0x26508e6d, 0x1ea119fa, 0x3d4233dd, 0x2a1462b3]; | |
const convertBits = (data, fromWidth, toWidth, pad) => { | |
let acc = 0; | |
let bits = 0; | |
const ret = []; | |
const maxv = (1 << toWidth) - 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
moska.near | |
danieldao.near | |
airdropme.near | |
maks1mk_a.near | |
innanear.near | |
uncle_alex.near | |
pablo158.near | |
0f00d914e7d946a26e424d90b840f0e005736a55e11c6f67c7903b104ee82dc6 | |
ramgor.near | |
837e155ab22444976c480555cfba93788f76160176ed0cd33c98dc31e150fe53 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"inputs":[{"components":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"uint160","name":"sqrtPriceLimitX96","type":"uint160"}],"internalType":"struct IQuoterV2.QuoteExactInputSingleParams","name":"params","type":"tuple"}],"name":"quoteExactInputSingle","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint160","name":"sqrtPriceX96After","type":"uint160"},{"internalType":"uint32","name":"initializedTicksCrossed","type":"uint32"},{"internalType":"uint256","name":"gasEstimate","type":"uint256"}],"stateMutability":"nonpayable","type":"function"}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"inputs":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicall","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenX","type":"address"},{"internalType":"address","name":"tokenY","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"uint128","name":"amount","type":"uint128"},{"internalType":"int24","name":"lowPt","type":"int24"}],"name":"swapX2Y","outputs":[{"internalType":"uint256","name":"amountY","type":"uint256"},{"internalType":"int24","name":"finalPoint","type":"int24"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenX","type":"address"},{"internalType":"address","name":"tokenY","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"uint128","name":"amount","type":"uint128"},{"internalType":"int24","name":"highPt","type":"int24"}],"name":"s |
NewerOlder