Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ git clone https://github.com/YOUR_USERNAME/starforge.git
cd starforge
cargo build --release

# Build with hardware wallet support
cargo build --release --features hardware-wallet

# Move the binary to your PATH
cp target/release/starforge ~/.local/bin/
# or on macOS:
Expand Down Expand Up @@ -109,12 +106,6 @@ starforge wallet remove alice

# Rotate a wallet but keep the same local name
starforge wallet rotate alice --fund

# Create a multisig config and also write a setup transaction payload
starforge wallet multisig create treasury \
--threshold 2 \
--signers alice,bob,charlie \
--xdr-output treasury-setup.json
```

Wallet rotation keeps the same local wallet name in `~/.starforge/config.toml`, but it creates a brand-new on-chain Stellar account keypair. Any scripts, signer sets, or deployment flows that referenced the previous public key still need to be updated separately.
Expand Down Expand Up @@ -154,8 +145,6 @@ starforge new contract my-contract --interactive
starforge new contract my-token --template token
starforge new contract my-nft --template nft
starforge new contract my-vote --template voting
starforge new contract my-stable --template stablecoin
starforge new contract my-escrow --template escrow

# Search marketplace templates
starforge template search defi
Expand Down Expand Up @@ -209,9 +198,6 @@ starforge deploy \

# Skip confirmation prompt (for CI)
starforge deploy --wasm ./my_contract.wasm --yes

# Simulate the deploy first to inspect estimated Soroban fee / RPC errors
starforge deploy --wasm ./my_contract.wasm --simulate
```

### Contract commands
Expand Down
11 changes: 11 additions & 0 deletions src/utils/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,16 @@ pub struct WalletEntry {
pub network: String,
pub created_at: String,
pub funded: bool,
#[serde(default)]
pub rotation_history: Vec<WalletRotationRecord>,
}

#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct WalletRotationRecord {
pub rotated_at: String,
pub previous_public_key: String,
pub previous_network: String,
pub previous_funded: bool,
}

impl Default for Config {
Expand Down Expand Up @@ -473,3 +483,4 @@ pub fn add_custom_network(
);
Ok(())
}

Loading