Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

PundiAI/cosmos-firewall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cosmos-firewall

Suitable for blockchain networks built on cosmos-sdk

Supported Networks

  • ethermint
  • fxcore

How to support your own network

  1. go get <your project>
  2. implement the appCreator function
  3. registerAppCreator
 func init() {
	applicationCreator := func() (Application, error) {
		return app.NewEthermintApp(nil, nil, nil, true, map[int64]bool{}, os.TempDir(), 5,
			encoding.MakeConfig(app.ModuleBasics), simapp.EmptyAppOptions{}), nil
	}
	registerAppCreator(ETHERMINT, applicationCreator)
}

start

1. make install
2. firewalld --help
3. firewalld start

docker start

1. docker build . -t functionX/cosmos-firewall
2. docker run -idt --name firewall -p 26657:26657 -p 1317:1317 -p 9090:9090 -v `pwd`/config:/build/config functionX/cosmos-firewall start --config /build/config/config.toml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published