README
¶
Secret Network secures the decentralized web
What is Secret Network?
Want to build a better internet? Solve for privacy.
Secret Network is a blockchain-based, open-source protocol that lets anyone perform computations on encrypted data, bringing privacy to smart contracts and public blockchains. Our mission: improve the adoption and usability of decentralized technologies, for the benefit of all.
Mainnet is out! Get the latest release at https://github.com/enigmampc/SecretNetwork/releases/latest.
Community
- Homepage: https://scrt.network
- Forum: https://forum.scrt.network
- Discord: https://discord.com/invite/SJK32GY
- Blog: https://blog.scrt.network
- Twitter: https://twitter.com/SecretNetwork
- Main Chat: https://chat.scrt.network/channel/general
- Telegram Channel: https://t.me/SCRTnetwork
- Community Secret Nodes Telegram: https://t.me/secretnodes
Block Explorers
Secret Network is secured by the SCRT coin (Secret), which is used for fees, staking, and governance. Transactions, validators, governance proposals, and more can be viewed using the following Secret Network block explorers:
Wallets
Implementation Discussions
- An Update on the Encryption Protocol
- Hard Forks and Network Upgrades
- Don’t trust, verify (an untrusted host)
- Secret Contracts on Secret Network
- Network key management/agreement
- Input/Output/State Encryption/Decryption protocol
- Why the Cosmos move doesn’t mean we’re leaving Ethereum
- (Dev discussion/Issue) WASM implementation
Blockchain REST Providers
Docs
- Install the
enigmacli
light client (Windows, Mac & Linux) - How to use the
enigmacli
light client - How to participate in on-chain governance
- How to run a full node on mainnet
- How to run an LCD server
- Ledger Nano S (and X) support
- How to join as a mainnet validator
- How to backup a validator
- How to migrate a validator to a new machine
- How to verify software releases
- How to setup SGX on your machine
Archive
License
SecretNetwork is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. The GNU Affero General Public License is based on the GNU GPL, but has an additional term to allow users who interact with the licensed software over a network to receive the source for that program.
Documentation
¶
Index ¶
- Variables
- func GetMaccPerms() map[string][]string
- func MakeCodec() *codec.Codec
- func NewDefaultGenesisState() simapp.GenesisState
- type EnigmaChainApp
- func (app *EnigmaChainApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock
- func (app *EnigmaChainApp) Codec() *codec.Codec
- func (app *EnigmaChainApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock
- func (app *EnigmaChainApp) ExportAppStateAndValidators(forZeroHeight bool, jailWhiteList []string) (appState json.RawMessage, validators []tmtypes.GenesisValidator, err error)
- func (app *EnigmaChainApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain
- func (app *EnigmaChainApp) LoadHeight(height int64) error
- func (app *EnigmaChainApp) ModuleAccountAddrs() map[string]bool
- func (app *EnigmaChainApp) Name() string
- func (app *EnigmaChainApp) SimulationManager() *module.SimulationManager
Constants ¶
Variables ¶
var ( // DefaultCLIHome default home directories for the application CLI DefaultCLIHome = os.ExpandEnv("$HOME/.enigmacli") // DefaultNodeHome sets the folder where the applcation data and configuration will be stored DefaultNodeHome = os.ExpandEnv("$HOME/.enigmad") // ModuleBasics The module BasicManager is in charge of setting up basic, // non-dependant module elements, such as codec registration // and genesis verification. ModuleBasics = module.NewBasicManager( genutil.AppModuleBasic{}, auth.AppModuleBasic{}, bank.AppModuleBasic{}, staking.AppModuleBasic{}, mint.AppModuleBasic{}, distr.AppModuleBasic{}, gov.NewAppModuleBasic(paramsclient.ProposalHandler, distr.ProposalHandler, upgradeclient.ProposalHandler), params.AppModuleBasic{}, crisis.AppModuleBasic{}, slashing.AppModuleBasic{}, supply.AppModuleBasic{}, upgrade.AppModuleBasic{}, evidence.AppModuleBasic{}, ) )
Functions ¶
func GetMaccPerms ¶
GetMaccPerms returns a mapping of the application's module account permissions.
func MakeCodec ¶
MakeCodec creates the application codec. The codec is sealed before it is returned.
func NewDefaultGenesisState ¶
func NewDefaultGenesisState() simapp.GenesisState
NewDefaultGenesisState return a default genesis state
Types ¶
type EnigmaChainApp ¶
EnigmaChainApp extended ABCI application
func NewEnigmaChainApp ¶
func NewEnigmaChainApp( logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool, invCheckPeriod uint, skipUpgradeHeights map[int64]bool, baseAppOptions ...func(*bam.BaseApp), ) *EnigmaChainApp
NewEnigmaChainApp is a constructor function for enigmaChainApp
func (*EnigmaChainApp) BeginBlocker ¶
func (app *EnigmaChainApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock
BeginBlocker application updates every begin block
func (*EnigmaChainApp) Codec ¶
func (app *EnigmaChainApp) Codec() *codec.Codec
Codec returns the application's sealed codec.
func (*EnigmaChainApp) EndBlocker ¶
func (app *EnigmaChainApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock
EndBlocker application updates every end block
func (*EnigmaChainApp) ExportAppStateAndValidators ¶
func (app *EnigmaChainApp) ExportAppStateAndValidators(forZeroHeight bool, jailWhiteList []string, ) (appState json.RawMessage, validators []tmtypes.GenesisValidator, err error)
func (*EnigmaChainApp) InitChainer ¶
func (app *EnigmaChainApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain
InitChainer application update at chain initialization
func (*EnigmaChainApp) LoadHeight ¶
func (app *EnigmaChainApp) LoadHeight(height int64) error
LoadHeight loads a particular height
func (*EnigmaChainApp) ModuleAccountAddrs ¶
func (app *EnigmaChainApp) ModuleAccountAddrs() map[string]bool
ModuleAccountAddrs returns all the app's module account addresses.
func (*EnigmaChainApp) Name ¶
func (app *EnigmaChainApp) Name() string
Name returns the name of the App
func (*EnigmaChainApp) SimulationManager ¶
func (app *EnigmaChainApp) SimulationManager() *module.SimulationManager
SimulationManager implements the SimulationApp interface
Directories
¶
Path | Synopsis |
---|---|
cmd
|
|
x
|
|
compute
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/enigmampc/EnigmaBlockchain/x/compute/internal/types ALIASGEN: github.com/enigmampc/EnigmaBlockchain/x/compute/internal/keeper
|
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/enigmampc/EnigmaBlockchain/x/compute/internal/types ALIASGEN: github.com/enigmampc/EnigmaBlockchain/x/compute/internal/keeper |