forked from hiero-hackers/hiero-notifications
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
36 lines (32 loc) · 1.8 KB
/
Copy path.env.example
File metadata and controls
36 lines (32 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copy to .env and fill in. `.env` is gitignored; this file is not — so never
# put a real key in here.
#
# cp .env.example .env
# npm run example:roundtrip
#
# The HIERO_* names are not ours: `@hiero-hackers/enterprise-core` reads them
# itself via resolveConfigFromEnv(), so the examples do no env plumbing.
# ── Required: a funded TESTNET account ───────────────────────────────────
# Create one and fund it free at https://portal.hedera.com (testnet faucet).
# Testnet HBAR has no value, so this costs nothing.
#
# NEVER put a mainnet key here. The roundtrip example refuses to run on any
# network but testnet, and a key in a file is a key you will eventually paste
# somewhere by accident.
HIERO_NETWORK=testnet
HIERO_OPERATOR_ID=0.0.xxxxxxx
HIERO_OPERATOR_KEY=302e020100300506032b657004220420...
HIERO_OPERATOR_KEY_TYPE=ed25519
# ── Optional: who gets paid ──────────────────────────────────────────────
# An existing testnet account for the roundtrip example to pay. Leave blank and
# it creates a throwaway one — the payer and payee must differ, since paying
# yourself nets to zero and credits nobody.
PAYEE_ID=
# ── Optional: where the receipt goes ─────────────────────────────────────
# A Discord *incoming webhook* URL. Note this posts to a CHANNEL, not to a
# person — DMing a user needs a bot with OAuth, which is a different thing.
# Server Settings → Integrations → Webhooks → New Webhook → Copy URL.
# Anyone holding this URL can post to that channel. Treat it as a secret.
DISCORD_WEBHOOK_URL=
# A Slack incoming webhook URL, same idea.
SLACK_WEBHOOK_URL=