diff --git a/config/config.yaml b/config/config.yaml index 4d4bd8f9..98c16331 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -95,6 +95,7 @@ bee-configs: blockchain-rpc-endpoint: "ws://geth-swap.bee-playground.svc.swarm1.local:8546" bootnode-mode: false bootnode: [] + bzz-token-address: "0x6aab14fe9cccd64a502d23842d916eb5321c26e7" cache-capacity: 1000000 chequebook-enable: true cors-allowed-origins: [] diff --git a/config/local.yaml b/config/local.yaml index 4d2e81f8..d389ee2b 100644 --- a/config/local.yaml +++ b/config/local.yaml @@ -153,6 +153,7 @@ bee-configs: blockchain-rpc-endpoint: "ws://geth-swap:8546" bootnode-mode: false bootnode: [] + bzz-token-address: "0x6aab14fe9cccd64a502d23842d916eb5321c26e7" cache-capacity: 20000 chequebook-enable: true cors-allowed-origins: [] diff --git a/pkg/orchestration/node.go b/pkg/orchestration/node.go index 12a16569..61918427 100644 --- a/pkg/orchestration/node.go +++ b/pkg/orchestration/node.go @@ -101,6 +101,7 @@ type Config struct { BlockTime *uint64 `yaml:"block-time,omitempty"` // chain block time BootnodeMode *bool `yaml:"bootnode-mode,omitempty"` // cause the node to always accept incoming connections Bootnodes *[]string `yaml:"bootnode,omitempty"` // initial nodes to connect to + BzzTokenAddress *string `yaml:"bzz-token-address,omitempty"` // bzz token contract address CacheCapacity *uint64 `yaml:"cache-capacity,omitempty"` // cache capacity in chunks, multiply by 4096 to get approximate capacity in bytes CacheRetrieval *bool `yaml:"cache-retrieval,omitempty"` // enable forwarded content caching ChequebookEnable *bool `yaml:"chequebook-enable,omitempty"` // enable chequebook