Skip to content

Instantly share code, notes, and snippets.

View Madjarx's full-sized avatar
🐳
Debugging Docker

Luka Radisavljevic Madjarx

🐳
Debugging Docker
View GitHub Profile
////// CLIENT SIDE
import classnames from 'classnames';
import * as anchor from '@project-serum/anchor';
import { Token, TOKEN_PROGRAM_ID } from '@solana/spl-token';
import { useState, useEffect } from 'react';
import { WalletMultiButton } from '@solana/wallet-adapter-react-ui';
import { useWallet, useConnection } from '@solana/wallet-adapter-react';
import { Container, Snackbar, Paper, CircularProgress } from '@material-ui/core';
import CTAButton from '../components/CTAButton';