Skip to content

Instantly share code, notes, and snippets.

@Dobrokhvalov
Last active January 27, 2020 17:38
Show Gist options
  • Save Dobrokhvalov/90cf4529e1312d30c89d678a27f2d83d to your computer and use it in GitHub Desktop.
Save Dobrokhvalov/90cf4529e1312d30c89d678a27f2d83d to your computer and use it in GitHub Desktop.
generate nft+erc20 linkdrop v2
{
"JSON_RPC_URL": "https://mainnet.infura.io",
"API_HOST": "http://localhost:5000",
"CHAIN_ID": 1,
"CHAIN": "mainnet",
"SENDER_PRIVATE_KEY": "",
"NATIVE_TOKENS_AMOUNT": "123456780",
"TOKEN_ADDRESS": "0xa3b5fdeb5dbc592ffc5e222223376464b9c56fb8",
"NFT_ADDRESS": "0x5f37ef03130f92925ea56579b891261118773aea",
"TOKEN_IDS": "[1,5,7]",
"TOKENS_AMOUNT": "10",
"FACTORY_ADDRESS": "0xba287dC96A7Da4a2fDaAc9e84d7772fB63efC643",
"MASTERCOPY_ADDRESS": "0xeb7bDb0a457CA7BD351638F2EBccA2A5ac75c00D",
"MASTERCOPY_TRANSFER_ADDRESS": "0xf24c024cFd80Ba8991A958002351131Ce6919e2e",
"LINKS_NUMBER": "2",
"CAMPAIGN_ID": "1",
"FEE_AMOUNT": "2000000000000000",
"RECEIVER_ADDRESS": "0x646F6381010bA304cA1f912d6E7BB9972b4b6f56",
"SENDER_ADDRESS": "0x15762B207d19bdf17c839791F71fcAb0AddBB2cE",
"CALLBACK_DATA": "0x"
}
git clone https://github.com/LinkdropHQ/linkdrop-monorepo
cd linkdrop-monorepo/
git checkout dev-v2
yarn
yarn compile-contracts
yarn generate-links
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment