kmadorin / flashbot

Other
83 stars 47 forks source link

Questions on .env values #1

Open oCHRISo opened 3 years ago

oCHRISo commented 3 years ago

Hi I'm just wondering could you improve the information required for the env file? What and where do I get values of address, private key, contract address and mnemonic?

RPC_URL="https://mainnet.infura.io/v3/YOUR_API_KEY_HERE"
ADDRESS="0x..."
PRIVATE_KEY="0x..."
CONTRACT_ADDRESS="0x..."
MNEMONIC=""
GAS_LIMIT=3000000
GAS_PRICE=200
ESTIMATED_GAS=1700000
restorepro commented 3 years ago

Create a infura account to get your api key for mainnet or testnet. Address is your wallet address. Private Key is your wallet private or secret key. Contact address can be gotten after deploying the smart contract to the blockchain ( using remix). Mnemonic is the seed words for your wallet. Be careful with this one (Mnemonic). I would definitely be using a burner metamask wallet for this...