Skip to content

Instantly share code, notes, and snippets.

@hansy
hansy / index.ts
Created August 2, 2024 23:41
Run Lit Action
import { privateKeyToAccount } from "viem/accounts";
(async () => {
try {
const lit = new LitServer();
const userAccount = privateKeyToAccount(
`0x${process.env.PRIVATE_KEY}`
);
const sessionSigs = await lit.generateSessionSigs(userAccount);
import {
DrawerContentScrollView,
DrawerItem,
DrawerContentComponentProps,
} from "@react-navigation/drawer";
import { View, Linking } from "react-native";
export default function DrawerContent(props: DrawerContentComponentProps) {
const handleFeedbackPress = async () => {
const email = EMAIL;
@hansy
hansy / data.json
Last active January 30, 2019 18:09
Demo Viewpoint
{
"LN1_1": {
"04": 0.964,
"06": 0.948,
"08": 0.909,
"12": 0.951,
"13": 0.912,
"17": 0.916,
"18": 0.931,
"24": 1,