COPY --from=builder /go/src/github.com/vapor/cmd/bytomd/bytomd /usr/local/bin/
COPY --from=builder /go/src/github.com/vapor/cmd/bytomcli/bytomcli /usr/local/bin/
-EXPOSE 1999 46656 46657 9888
+EXPOSE 1999 46656 46657 9889
Access the dashboard:
```
-$ open http://localhost:9888/
+$ open http://localhost:9889/
```
### In Docker
# For more information, see https://github.com/toml-lang/toml
fast_sync = true
db_backend = "leveldb"
-api_addr = "0.0.0.0:9888"
+api_addr = "0.0.0.0:9889"
moniker = ""
`
-curl -d '[{"root_xpubs":["2d6c07cb1ff7800b0793e300cd62b6ec5c0943d308799427615be451ef09c0304bee5dd492c6b13aaa854d303dc4f1dcb229f9578786e19c52d860803efa3b9a"],"Quorum":1,"Alias":"aa","Tags":{"test_tag":"v0"},"client_token":"test_token"}]' -X POST http://localhost:9888/create-account
+curl -d '[{"root_xpubs":["2d6c07cb1ff7800b0793e300cd62b6ec5c0943d308799427615be451ef09c0304bee5dd492c6b13aaa854d303dc4f1dcb229f9578786e19c52d860803efa3b9a"],"Quorum":1,"Alias":"aa","Tags":{"test_tag":"v0"},"client_token":"test_token"}]' -X POST http://localhost:9889/create-account
-curl -d '{"Alias": "alice", "Password": "123456"}' -X POST http://localhost:9888/create-key
+curl -d '{"Alias": "alice", "Password": "123456"}' -X POST http://localhost:9889/create-key
-curl -X POST http://localhost:9888/net-info -d '{}'
+curl -X POST http://localhost:9889/net-info -d '{}'
var config = cfg.DefaultConfig()
config.Wallet.Disable = false
config.Mining = true
- config.ApiAddress = "127.0.0.1:9888"
+ config.ApiAddress = "127.0.0.1:9889"
return config
}
)
var (
- coreURL = env.String("BYTOM_URL", "http://127.0.0.1:9888")
+ coreURL = env.String("BYTOM_URL", "http://127.0.0.1:9889")
)
// Wraper rpc's client