-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
77 lines (61 loc) · 4.11 KB
/
Copy path.env.example
File metadata and controls
77 lines (61 loc) · 4.11 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# ─── Aegis RWA Contracts — example environment ────────────────────────────────
#
# Copy this file to `.env` and adjust the values for your machine:
#
# cp .env.example .env
#
# The Makefile automatically loads `.env` when it exists, so every variable
# below becomes the default for `make build`, `make deploy`, `make initialize`,
# and friends. Each variable can still be overridden per-invocation, e.g.
#
# make deploy NETWORK=testnet SOURCE_ACCOUNT=my-key
#
# `.env` is git-ignored (`.env*` in .gitignore). NEVER commit real secret keys.
# Full reference: docs/local-deployment.md
# ──────────────────────────────────────────────────────────────────────────────
# ─── Build configuration ──────────────────────────────────────────────────────
# Rust compilation target for the contract WASM.
#
# `wasm32v1-none` is REQUIRED for soroban-sdk 26.x on Rust 1.84+. The legacy
# `wasm32-unknown-unknown` target enables the reference-types and multi-value
# WASM features, which the Soroban environment rejects — soroban-sdk's build
# script aborts the build with an explicit error on Rust 1.82+.
WASM_TARGET=wasm32v1-none
# Crate name used to locate the compiled artifact. Derived from the `name` in
# Cargo.toml with dashes replaced by underscores. Only change this if the
# package is renamed.
CONTRACT_NAME=aegis_contracts
# ─── Stellar CLI ──────────────────────────────────────────────────────────────
# Name of the CLI binary. Use `stellar` (current) or `soroban` (legacy, for
# CLI versions older than 21.0.0).
STELLAR=stellar
# ─── Network configuration ────────────────────────────────────────────────────
# Name of the network as registered in the Stellar CLI config
# (`stellar network ls`). Common values: local, testnet, futurenet.
NETWORK=local
# JSON-RPC endpoint used by the CLI.
# local (quickstart) : http://localhost:8000/rpc
# testnet : https://soroban-testnet.stellar.org
RPC_URL=http://localhost:8000/rpc
# Network passphrase. This MUST match the network exactly, otherwise every
# transaction fails signature verification with a cryptic auth error.
# local (quickstart) : Standalone Network ; February 2017
# testnet : Test SDF Network ; September 2015
NETWORK_PASSPHRASE=Standalone Network ; February 2017
# ─── Identity ─────────────────────────────────────────────────────────────────
# Stellar CLI identity alias used to sign deploy/invoke transactions.
# Created and funded by `make fund` (or `scripts/setup_local.sh`).
# Prefer an alias over a raw secret key so no secret lands in this file.
SOURCE_ACCOUNT=aegis-admin
# ─── Deployment output ────────────────────────────────────────────────────────
# Contract id (C...) produced by `make deploy` / `scripts/deploy_local.sh`.
# Leave blank until the first deploy, then paste the value here so subsequent
# `make initialize` / `make invoke-status` calls pick it up automatically.
CONTRACT_ID=
# Address (G...) that becomes the supreme admin via `initialize`. Usually the
# public key of SOURCE_ACCOUNT: `stellar keys address aegis-admin`.
ADMIN_ADDRESS=
# ─── Optional bootstrap values (used by scripts/deploy_local.sh) ──────────────
# When set to 1, the deploy script also calls `initialize` with ADMIN_ADDRESS
# (falling back to the SOURCE_ACCOUNT address) right after deploying.
AUTO_INITIALIZE=1