Nagging Mario's Princess

    @appliedblockchain/chainlink-plugins-fund-link
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.3 • Public • Published

    Chainlink Plugin Fund Link

    A Hardhat plugin that transfers Link token between accounts.

    What

    This plugin will help you transfer Link token between accounts.

    Installation

    To install this plugin use:

    npm install @appliedblockchain/chainlink-plugins-fund-link @nomiclabs/hardhat-ethers --save

    Import the plugin in your hardhat.config.js:

    require("@appliedblockchain/chainlink-plugins-fund-link");

    Or if you are using TypeScript, in your hardhat.config.ts:

    import "@appliedblockchain/chainlink-plugins-fund-link";

    Required plugins

    Tasks

    This plugin adds a task to fund an account with Link token.

    Fund account with Link token.

    npx hardhat fund-link --contract <contract address> --linkaddress <link contract address> --fundamount <fund amount>
    

    The Link address and the fund amount parameters are optional. This plugin uses the official Link addresses as default. Check the default values on the configuration file.

    Example of funding on the Ethereum main network.

    npx hardhat fund-link --contract 0xc0ffee254729296a45a3885639AC7E10F9d54979 --linkaddress 0x514910771af9ca656af840dff83e8264ecf986ca --fundamount 1000000000000000000
    

    Environment extensions

    This plugin adds the function to transfer the Link token between accounts to the Hardhat Runtime Environment.

    hre.fundLink(hre,contractAddress);
    

    Configuration

    This plugin does not require configuration.

    Usage

    There are no additional steps you need to take for this plugin to work.

    Install it and access the provided functions and the provided tasks through the Hardhat Runtime Environment anywhere you need it.

    Install

    npm i @appliedblockchain/chainlink-plugins-fund-link

    DownloadsWeekly Downloads

    69

    Version

    0.0.3

    License

    MIT

    Unpacked Size

    22 kB

    Total Files

    33

    Last publish

    Collaborators

    • samfcmc
    • darlaig
    • ffradique-ab
    • tiagorvmartins
    • pauloledoappliedblockchain
    • kjack83
    • losceicco
    • ruisereno
    • vahe9611
    • ibrahim-brumate
    • telmof
    • andremfaria
    • vujke82
    • ngabon
    • lbltavaresab
    • teious
    • ztadic91
    • pedrolino
    • gustavo.rodarte
    • arjunappliedblockchain
    • giddyupyup
    • deepakbhari
    • alisson-diniz-ab
    • lex.blagus
    • gabriel8fm
    • miniclip22
    • juniorerico
    • diogopalhais
    • gabspeck
    • ijuras
    • tiagofreire
    • remundro
    • ab-ci
    • alord
    • andycampbell92
    • makevoid
    • mariogemoll
    • mirek
    • arnaudab
    • danchmelo
    • seromenho
    • kennypt
    • zeluisping
    • diogocapela
    • canlopes
    • pmcleite-ab
    • filipepedro
    • mnikolaus
    • joao.anes
    • bertola
    • lpalmeida
    • lslima91