Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lunch-money/ethereum-to-lunch-money

Package Overview
Dependencies
Maintainers
5
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lunch-money/ethereum-to-lunch-money

A wrapper around Ethereum APIs for enabling Lunch Money to gather information about a user's wallet.

  • 1.2.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
5
Weekly downloads
 
Created
Source

ethereum-to-lunch-money

This repo exposes an interface for extracting balances for all ERC-20 tokens from an Ethereum wallet.

Installation

yarn

Testing

yarn test

There is also a script, get-balances.ts, that can be invoked to invoke the client against a real wallet. It is invoked in the following way:

LM_ETHERSCAN_API_KEY=XXX LM_ETHEREUM_WALLET_ADDRESS=YYY ./bin/get-balances.ts

You can obtain a Etherscan API key by following the documentation here.

Refreshing the Token List

This package uses a fixed token list fetched as the token list that the 1inch exchange uses, current as of 2021-08-15. Run the included script ./bin/refresh-token-list.sh to refresh the token list. Refreshing the token list will require a new version of this package to be released.

Keywords

FAQs

Package last updated on 30 Aug 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc