Initial commit: Potatium

This commit is contained in:
Michael Böhmländer committed 2026-10-24 21:01:13 +00:00
commit e2d0be22fd
58 files changed
+1551

No files matched your search

View File
Whitespace-only changes.
View File
Whitespace-only changes.
+21
View File
@@ -0,0 +1,21 @@
package app
// Status reports real capabilities, not planned ones. The starter project is
// not yet a blockchain, and it must not be presented as a functional wallet.
type Status struct {
Project string `json:"project"`
Phase string `json:"phase"`
ChainReady bool `json:"chain_ready"`
WalletReady bool `json:"wallet_ready"`
MiningReady bool `json:"mining_ready"`
}
func CurrentStatus() Status {
return Status{
Project: "Potatium",
Phase: "scaffold",
ChainReady: false,
WalletReady: false,
MiningReady: false,
}
}
+10
View File
@@ -0,0 +1,10 @@
package app
import "testing"
func TestScaffoldDoesNotClaimFeatures(t *testing.T) {
state := CurrentStatus()
if state.ChainReady || state.WalletReady || state.MiningReady {
t.Fatal("starter must not claim blockchain, wallet or mining are ready")
}
}
View File
Whitespace-only changes.
View File
Whitespace-only changes.
View File
Whitespace-only changes.
View File
Whitespace-only changes.
View File
Whitespace-only changes.
View File
Whitespace-only changes.
View File
Whitespace-only changes.
View File
Whitespace-only changes.
View File
Whitespace-only changes.