mirror of
https://github.com/cerc-io/watcher-ts
synced 2024-11-20 04:46:20 +00:00
a834250259
* Use an env variable for eth RPC endpoint in hardhat config * Add a task to get main account address in erc20 watcher
31 lines
628 B
TypeScript
31 lines
628 B
TypeScript
//
|
|
// Copyright 2021 Vulcanize, Inc.
|
|
//
|
|
|
|
import '@nomiclabs/hardhat-waffle';
|
|
|
|
import './test/tasks/token-deploy';
|
|
import './test/tasks/token-transfer';
|
|
import './test/tasks/token-approve';
|
|
import './test/tasks/token-transfer-from';
|
|
import './test/tasks/block-latest';
|
|
import './test/tasks/account';
|
|
|
|
// You need to export an object to set up your config
|
|
// Go to https://hardhat.org/config/ to learn more
|
|
|
|
/**
|
|
* @type import('hardhat/config').HardhatUserConfig
|
|
*/
|
|
export default {
|
|
solidity: '0.8.0',
|
|
networks: {
|
|
docker: {
|
|
url: process.env.ETH_RPC_URL
|
|
}
|
|
},
|
|
paths: {
|
|
sources: './test/contracts'
|
|
}
|
|
};
|