Socket
Socket
Sign inDemoInstall

@big-whale-labs/bwl-metadata-bridge-contract

Package Overview
Dependencies
0
Maintainers
9
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @big-whale-labs/bwl-metadata-bridge-contract

Cross chain contract for fetching and storing tokens metadata


Version published
Maintainers
9
Install size
97.2 kB
Created

Readme

Source

BWL metadata bridge smart-contract

Cross chain contract for fetching and storing tokens metadata

Usage

  1. Clone the repository with git clone git@github.com:BigWhaleLabs/bwl-metadata-bridge-contract
  2. Install the dependencies with yarn
  3. Add environment variables to your .env file
  4. Run the scripts below

Environment variables

NameDescription
ETHERSCAN_API_KEYEtherscan API key
ETH_RPCEthereum RPC URL
CONTRACT_OWNER_PRIVATE_KEYPrivate key of the contract owner to deploy the contracts
COINMARKETCAP_API_KEYCoinmarketcap API key

Also check out the .env.sample file for more information.

Available scripts

  • yarn build — compiles the contract ts interface to the typechain directory
  • yarn test — runs the test suite
  • yarn deploy — deploys the contract to the network
  • yarn eth-lint — runs the linter for the solidity contract
  • yarn lint — runs all the linters
  • yarn prettify — prettifies the code in th project
  • yarn release — relases the typechain directory to NPM

FAQs

Last updated on 23 Jan 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc