Update dependency ethers to v6.13.4 #657
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Track Wallet Daily | |
on: | |
# schedule: | |
# Runs "at 6h30 am every day" (see https://crontab.guru) | |
# - cron: '30 6 * * *' | |
# pull_request: | |
# workflow_dispatch: | |
env: | |
SEND_EMAIL: true | |
DUMMY_PRIVATE_KEY: ${{secrets.DUMMY_PRIVATE_KEY}} | |
# Wallets to track | |
TRACKING_PERSONAL_WALLET: ${{secrets.TRACKING_PERSONAL_WALLET}} | |
TRACKING_OTHERS_WALLET: ${{secrets.TRACKING_OTHERS_WALLET}} | |
# Public Mainet RPC Urls | |
RPC_ETHEREUM: ${{secrets.RPC_ETHEREUM}} | |
RPC_POLYGON: ${{secrets.RPC_POLYGON}} | |
RPC_BINANCE: ${{secrets.RPC_BINANCE}} | |
RPC_OPTIMISM: ${{secrets.RPC_OPTIMISM}} | |
RPC_AVALANCHE: ${{secrets.RPC_AVALANCHE}} | |
RPC_ARBITRUM: ${{secrets.RPC_ARBITRUM}} | |
RPC_CHRONOS: ${{secrets.RPC_CHRONOS}} | |
RPC_FANTOM: ${{secrets.RPC_FANTOM}} | |
RPC_KLAYTN: ${{secrets.RPC_KLAYTN}} | |
RPC_KAVA: ${{secrets.RPC_KAVA}} | |
RPC_GNOSIS: ${{secrets.RPC_GNOSIS}} | |
RPC_AURORA: ${{secrets.RPC_AURORA}} | |
RPC_FUSION: ${{secrets.RPC_FUSION}} | |
RPC_CELO: ${{secrets.RPC_CELO}} | |
RPC_HUOBI: ${{secrets.RPC_HUOBI}} | |
RPC_MOONRIVER: ${{secrets.RPC_MOONRIVER}} | |
RPC_MOONBEAM: ${{secrets.RPC_MOONBEAM}} | |
RPC_RSK: ${{secrets.RPC_RSK}} | |
RPC_METIS: ${{secrets.RPC_METIS}} | |
# Testnet RPC Urls | |
RPC_ROPSTEIN: ${{secrets.RPC_ROPSTEIN}} | |
RPC_RINKEBY: ${{secrets.RPC_RINKEBY}} | |
RPC_GOERLI: ${{secrets.RPC_GOERLI}} | |
RPC_KOVAN: ${{secrets.RPC_KOVAN}} | |
RPC_MUMBAI: ${{secrets.RPC_MUMBAI}} | |
RPC_BINANCE_TESTNET: ${{secrets.RPC_BINANCE_TESTNET}} | |
RPC_OPTIMISM_TESTNET: ${{secrets.RPC_OPTIMISM_TESTNET}} | |
RPC_OPTIMISM_GOERLI: ${{secrets.RPC_OPTIMISM_GOERLI}} | |
# List of ERC20 tokens to be track per chains (for each wallets) | |
# Public Mainnet | |
TRACKING_TOKENS_ETHEREUM: ${{secrets.TRACKING_TOKENS_ETHEREUM}} | |
TRACKING_TOKENS_POLYGON: ${{secrets.TRACKING_TOKENS_POLYGON}} | |
TRACKING_TOKENS_BINANCE: ${{secrets.TRACKING_TOKENS_BINANCE}} | |
TRACKING_TOKENS_OPTIMISM: ${{secrets.TRACKING_TOKENS_OPTIMISM}} | |
TRACKING_TOKENS_AVALANCHE: ${{secrets.TRACKING_TOKENS_AVALANCHE}} | |
TRACKING_TOKENS_ARBITRUM: ${{secrets.TRACKING_TOKENS_ARBITRUM}} | |
TRACKING_TOKENS_CHRONOS: ${{secrets.TRACKING_TOKENS_CHRONOS}} | |
TRACKING_TOKENS_FANTOM: ${{secrets.TRACKING_TOKENS_FANTOM}} | |
TRACKING_TOKENS_KLAYTN: ${{secrets.TRACKING_TOKENS_KLAYTN}} | |
TRACKING_TOKENS_KAVA: ${{secrets.TRACKING_TOKENS_KAVA}} | |
TRACKING_TOKENS_GNOSIS: ${{secrets.TRACKING_TOKENS_GNOSIS}} | |
TRACKING_TOKENS_AURORA: ${{secrets.TRACKING_TOKENS_AURORA}} | |
TRACKING_TOKENS_FUSION: ${{secrets.TRACKING_TOKENS_FUSION}} | |
TRACKING_TOKENS_CELO: ${{secrets.TRACKING_TOKENS_CELO}} | |
TRACKING_TOKENS_HUOBI: ${{secrets.TRACKING_TOKENS_HUOBI}} | |
TRACKING_TOKENS_MOONRIVER: ${{secrets.TRACKING_TOKENS_MOONRIVER}} | |
TRACKING_TOKENS_MOONBEAM: ${{secrets.TRACKING_TOKENS_MOONBEAM}} | |
TRACKING_TOKENS_RSK: ${{secrets.TRACKING_TOKENS_RSK}} | |
TRACKING_TOKENS_METIS: ${{secrets.TRACKING_TOKENS_METIS}} | |
# Public Testnet | |
TRACKING_TOKENS_ROPSTEIN: ${{secrets.TRACKING_TOKENS_ROPSTEIN}} | |
TRACKING_TOKENS_RINKEBY: ${{secrets.TRACKING_TOKENS_RINKEBY}} | |
TRACKING_TOKENS_GOERLI: ${{secrets.TRACKING_TOKENS_GOERLI}} | |
TRACKING_TOKENS_KOVAN: ${{secrets.TRACKING_TOKENS_KOVAN}} | |
TRACKING_TOKENS_MUMBAI: ${{secrets.TRACKING_TOKENS_MUMBAI}} | |
TRACKING_TOKENS_BINANCE_TESTNET: ${{secrets.TRACKING_TOKENS_BINANCE_TESTNET}} | |
TRACKING_TOKENS_OPTIMISM_TESTNET: ${{secrets.TRACKING_TOKENS_OPTIMISM_TESTNET}} | |
TRACKING_TOKENS_OPTIMISM_GOERLI: ${{secrets.TRACKING_TOKENS_OPTIMISM_GOERLI}} | |
jobs: | |
report: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 16 | |
- name: NPM Install | |
run: npm install | |
- name: Generate Report | |
run: npm run generateReport | |
- name: Get current date | |
id: date | |
run: echo "name=date=$(date +'%d-%m-%Y')" >> $GITHUB_OUTPUT | |
- name: Send Report | |
uses: dawidd6/action-send-mail@v3 | |
with: | |
# Specify connection via URL (replaces server_address, server_port, secure, | |
# username and password) | |
# | |
# Format: | |
# | |
# * smtp://user:password@server:port | |
# * smtp+starttls://user:password@server:port | |
# connection_url: ${{secrets.MAIL_CONNECTION}} | |
# Required mail server address if not connection_url: | |
server_address: smtp.gmail.com | |
# Server port, default 25: | |
server_port: 465 | |
# Optional whether this connection use TLS (default is true if server_port is 465) | |
# secure: true | |
# Optional (recommended): mail server username: | |
username: ${{secrets.MAIL_USERNAME}} | |
# Optional (recommended) mail server password: | |
password: ${{secrets.MAIL_PASSWORD}} | |
# Required mail subject: | |
subject: Wallets Tracker Report ${{ steps.date.outputs.date }} | |
# Required recipients' addresses: | |
to: ${{secrets.MAIL_SEND_TO}} | |
# Required sender full name (address can be skipped): | |
from: ${{secrets.MAIL_SEND_FROM}} # Luke Skywalker <[email protected]> | |
# Optional plain body: | |
# body: Build job of ${{github.repository}} completed successfully! | |
# Optional HTML body read from file: | |
html_body: file://exports/export.md | |
# Optional carbon copy recipients: | |
# cc: [email protected],[email protected] | |
# Optional blind carbon copy recipients: | |
# bcc: [email protected],[email protected] | |
# Optional recipient of the email response: | |
reply_to: ${{secrets.MAIL_SEND_TO}} | |
# Optional Message ID this message is replying to: | |
# in_reply_to: <[email protected]> | |
# Optional unsigned/invalid certificates allowance: | |
ignore_cert: true | |
# Optional converting Markdown to HTML (set content_type to text/html too): | |
convert_markdown: true | |
# Optional attachments: | |
# attachments: attachments.zip,git.diff,./dist/static/*.js | |
# Optional priority: 'high', 'normal' (default) or 'low' | |
priority: normal |