Skip to content
This repository was archived by the owner on Jan 9, 2026. It is now read-only.

Commit bb385ae

Browse files
authored
Merge pull request #9 from kadena-io/delete-rosetta
delete rosetta from docker image
2 parents eb61954 + e01210c commit bb385ae

File tree

2 files changed

+0
-27
lines changed

2 files changed

+0
-27
lines changed

README.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -231,22 +231,6 @@ powerful enough to competitively mine on the Kadena Mainnet. Links to alternate
231231
mining software can be found
232232
[here](https://kadena-io.github.io/kadena-docs/Public-Chain-Docs/#start-mining).
233233

234-
# Enable [Rosetta API](https://www.rosetta-api.org/)
235-
236-
The chainweb node has optional support for the rosetta API, which can be enabled
237-
by setting the `ROSETTA` environment variable to any non-empty value.
238-
239-
```sh
240-
docker run \
241-
--detach \
242-
--publish 1848:1848 \
243-
--publish 1789:1789 \
244-
--env "ROSETTA=1" \
245-
--name chainweb-node \
246-
--mount type=volume,source=chainweb-data,target=/data \
247-
kadena/chainweb-node
248-
```
249-
250234
# API Overview
251235

252236
TODO

run-chainweb-node.sh

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ export CHAINWEB_SERVICE_PORT=${CHAINWEB_SERVICE_PORT:-1848}
99
export LOGLEVEL=${LOGLEVEL:-warn}
1010
export MINER_KEY=${MINER_KEY:-}
1111
export MINER_ACCOUNT=${MINER_ACCOUNT:-$MINER_KEY}
12-
export ROSETTA=${ROSETTA:-}
1312
export SKIP_REACHABILITY_CHECK=${SKIP_REACHABILITY_CHECK:-0}
1413

1514
if [[ -z "$CHAINWEB_P2P_HOST" ]] ; then
@@ -59,15 +58,6 @@ chainweb:
5958
"
6059
fi
6160

62-
# ############################################################################ #
63-
# Flags
64-
65-
if [[ -n "$ROSETTA" ]] ; then
66-
ROSETTA_FLAG="--rosetta"
67-
else
68-
ROSETTA_FLAG="--no-rosetta"
69-
fi
70-
7161
# ############################################################################ #
7262
# Run node
7363

@@ -77,7 +67,6 @@ exec ./chainweb-node \
7767
--p2p-hostname="$CHAINWEB_P2P_HOST" \
7868
--p2p-port="$CHAINWEB_P2P_PORT" \
7969
--service-port="$CHAINWEB_SERVICE_PORT" \
80-
"$ROSETTA_FLAG" \
8170
--log-level="$LOGLEVEL" \
8271
+RTS -N -t -A64M -H500M -RTS \
8372
"$@"

0 commit comments

Comments
 (0)