Make portfolio analysis and asset valuations fast, free, and easy! Create new wallets, get your portfolio performance minute-to-minute, distill relevant investment info, curate blockchain and crypto news, and more-- all with a Discord bot.
Commented code and easily editable! Feel free to fork.
-
Create a .env file, add it to .gitignore.
-
Use the following JS code to generate a private key Ethereum account.
const throwaway = StreamrClient.generateEthereumAccount()
console.log(throwaway.address)
console.log(throwaway.privateKey)
-
Copy and paste the throwaway address and private key into the .env file as
STREAMR_ADDRESSandSTREAMR_PRIVATE_KEY. -
Add a STREAMR_ID to the .env file. (Eg:
{0xStreamrID}/OneWalletWwatcher). -
Share the Stream with that generated throwaway account's address as a publisher. Make sure the shared account is marked as an "Owner" in order to have all necessary permissions to push to and manage the data to the Streamr blockchain.
-
Run
app.py. -
Go back to Streamr and check for data.
