Categorygithub.com/scottrmalley/go-token-lists
modulepackage
0.0.0-20230129154638-c2ddde165519
Repository: https://github.com/scottrmalley/go-token-lists.git
Documentation: pkg.go.dev

# README

Go Token Lists

This is a Golang implementation of the Uniswap schema for DeFi token lists.

Usage

package main

import (
	"github.com/scottrmalley/go-evm-constants/networks"
	tl "github.com/scottrmalley/go-token-lists"
	"github.com/scottrmalley/go-token-lists/metadata"
)

func main() {
	list, err := tl.NewList(metadata.PANCAKESWAP_EXTENDED)
	if err != nil {
		panic(err)
	}

	usdc, err := list.TokenBySymbol(networks.BSC_MAINNET, "USDC")
	if err != nil {
		panic(err)
    }
	...
}

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author