Skip to content

Instantly share code, notes, and snippets.

https://www.youtube.com/playlist?list=PLj6h78yzYM2O3YsKnBocZZPv0M6f-wLu5
import { GraphQLRelayService } from './GraphQLRelayService';
import superagent, { Response } from 'superagent';
import { jest } from '@jest/globals';
jest.mock('superagent');
interface TokenResponse {
body: {
access_token: string;
expires_in: number;
/* eslint-disable class-methods-use-this */
type UserProfile = {
name: string;
avatarUrl: string;
balance: number;
};
abstract class AbstractWallet {
// Returns a promise that resolves an array of strings, each string is an origin
async getOrdinals(): Promise<string[]> {
pragma solidity ^0.4.19;
import 'zeppelin-solidity/contracts/token/ERC20/MintableToken.sol';
contract BITTokenTest is MintableToken {
string public name = "BITTokenTest";
string public symbol = "BIT";
uint8 public decimals = 18;
}