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
import './App.css'; | |
import { useEffect, useState } from 'react'; | |
import { | |
Program, | |
Provider, | |
BN, | |
web3, | |
} from '@project-serum/anchor' | |
import { | |
Connection, |
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
#!/bin/bash | |
# Known working on a vanilla Ubuntu 20.04 install | |
# as of November 12 2021. | |
# Usage: | |
# $ sudo chmod +x ./SolanaToolchainInstaller.sh | |
# $ ./SolanaToolchainInstaller.sh | |
TIMESRUN=0 |
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
import { serve } from "https://deno.land/std@0.162.0/http/server.ts"; | |
import { Server } from "https://deno.land/x/socket_io@0.2.0/mod.ts"; | |
import { Hono } from "https://deno.land/x/hono@v3.0.0/mod.ts"; | |
import { logger, html } from "https://deno.land/x/hono@v3.0.0/middleware.ts"; | |
const app = new Hono(); | |
app.use("*", logger()); | |
app.get("/", (c) => { | |
return c.html( |
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
"use client" | |
import * as React from "react" | |
import { buttonVariants } from "@/components/ui/button" | |
import { ScrollArea } from "@/components/ui/scroll-area" | |
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select" | |
import { cn } from "@/lib/utils" | |
import { ChevronLeft, ChevronRight } from "lucide-react" | |
import { DayPicker, DropdownProps } from "react-day-picker" |