Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
2c6f529
fix reportingInterval for tally
ImNumber4 Jan 25, 2024
aeedced
add missing col value in transactions table
ImNumber4 Feb 28, 2024
fa9d67f
sync with chainstorage go version
leozc Apr 8, 2024
46c3040
Merge pull request #1 from cipherowl-ai/leozc_syncversion
aegis-cipherowl Apr 9, 2024
5589a64
TIT-228 Add base config
samsuse Jul 17, 2024
ffed493
Merge pull request #2 from cipherowl-ai/TIT-228-base-config
samsuse Jul 17, 2024
4880817
Fix `base` controller is not implemented
samsuse Jul 18, 2024
df4b1d1
support for tron and story
BarryLiii Feb 13, 2025
a2e3d9b
change make file
BarryLiii Feb 17, 2025
dfbb2a7
rollback makefile changes
BarryLiii Feb 18, 2025
e3ecf93
Merge pull request #4 from cipherowl-ai/tron-support
BarryLiii Mar 20, 2025
39eb012
Add tron specific fields in the receipt
BarryLiii Mar 26, 2025
93d62d3
update chainstorage version to fix Tron parser
PikaZ76 Jun 18, 2025
574b818
Merge pull request #6 from cipherowl-ai/fix/updateChainstorageVersion
PikaZ76 Jun 19, 2025
d12fbc4
update ChainStorageVersion and dependent LibVersions, upgrade to gola…
PikaZ76 Jun 19, 2025
072365f
Merge branch 'master' into tron-schema-update
PikaZ76 Jun 20, 2025
b86a124
Merge pull request #5 from cipherowl-ai/tron-schema-update
BarryLiii Jun 20, 2025
9426579
fix conflict
PikaZ76 Jun 20, 2025
ef81c61
Merge pull request #7 from cipherowl-ai/fix/updateLatestChainstorageL…
leozc Jun 20, 2025
6351eea
Merge pull request #3 from cipherowl-ai/implement-base-controller
aegis-cipherowl Jul 10, 2025
9121445
update chainstorage for fixed Tron txType parser (#8)
PikaZ76 Jul 13, 2025
fad1ebf
Feature/bitcoincash and etc (#9)
PikaZ76 Sep 5, 2025
6c5ad05
add config for bitcoincash and ETC (#10)
PikaZ76 Sep 6, 2025
32b43a5
config plasma (#11)
PikaZ76 Sep 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ It aims to provide a set of easy to use interfaces to support spark consumers to
Make sure your local go version is 1.18 by running the following commands:

```shell
brew install go@1.18
brew install go@1.20
brew unlink go
brew link go@1.18
brew link go@1.20

brew install protobuf@3.21.12
brew install protobuf@25.2
brew unlink protobuf
brew link protobuf
```
Expand Down
12 changes: 12 additions & 0 deletions config/chainsformer/base/mainnet/base.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
chain:
blockchain: BLOCKCHAIN_BASE
network: NETWORK_BASE_MAINNET
config_name: base-mainnet
sla:
tier: 1
table:
supported_formats:
- native
- rosetta
server:
bind_address: ":9090"
11 changes: 11 additions & 0 deletions config/chainsformer/bitcoincash/mainnet/base.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
chain:
blockchain: BLOCKCHAIN_BITCOINCASH
network: NETWORK_BITCOINCASH_MAINNET
config_name: bitcoincash-mainnet
sla:
tier: 1
table:
supported_formats:
- native
server:
bind_address: ":9090"
13 changes: 13 additions & 0 deletions config/chainsformer/ethereumclassic/mainnet/base.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
chain:
blockchain: BLOCKCHAIN_ETHEREUMCLASSIC
network: NETWORK_ETHEREUMCLASSIC_MAINNET
config_name: ethereumclassic-mainnet
sla:
tier: 1
table:
supported_formats:
- native
- rosetta
server:
bind_address: ":9090"

13 changes: 13 additions & 0 deletions config/chainsformer/plasma/mainnet/base.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
chain:
blockchain: BLOCKCHAIN_PLASMA
network: NETWORK_PLASMA_MAINNET
config_name: plasma-mainnet
sla:
tier: 1
table:
supported_formats:
- native
- rosetta
server:
bind_address: ":9090"

12 changes: 12 additions & 0 deletions config/chainsformer/story/mainnet/base.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
chain:
blockchain: BLOCKCHAIN_STORY
network: NETWORK_STORY_MAINNET
config_name: story-mainnet
sla:
tier: 1
table:
supported_formats:
- native
- rosetta
server:
bind_address: ":9090"
12 changes: 12 additions & 0 deletions config/chainsformer/tron/mainnet/base.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
chain:
blockchain: BLOCKCHAIN_TRON
network: NETWORK_TRON_MAINNET
config_name: tron-mainnet
sla:
tier: 1
table:
supported_formats:
- native
- rosetta
server:
bind_address: ":9090"
132 changes: 64 additions & 68 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,113 +1,105 @@
module github.com/coinbase/chainsformer

go 1.20
go 1.23.0

toolchain go1.23.3

require (
github.com/apache/arrow/go/v10 v10.0.1
github.com/cenkalti/backoff v2.2.1+incompatible
github.com/coinbase/chainstorage v0.0.0-20240117222657-d8af4ef3b514
github.com/go-playground/validator/v10 v10.16.0
github.com/golang/protobuf v1.5.3
github.com/go-playground/validator/v10 v10.17.0
github.com/golang/protobuf v1.5.4
github.com/google/go-cmp v0.6.0
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0
github.com/mitchellh/mapstructure v1.5.0
github.com/opentracing/opentracing-go v1.2.0
github.com/smira/go-statsd v1.3.3
github.com/spf13/viper v1.18.2
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.10.0
github.com/uber-go/tally/v4 v4.1.10
go.uber.org/fx v1.20.1
go.uber.org/mock v0.4.0
go.uber.org/zap v1.26.0
golang.org/x/exp v0.0.0-20231226003508-02704c960a9b
golang.org/x/sync v0.5.0
golang.org/x/exp v0.0.0-20240119083558-1b970713d09a
golang.org/x/sync v0.13.0
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028
google.golang.org/grpc v1.60.1
google.golang.org/protobuf v1.32.0
gopkg.in/DataDog/dd-trace-go.v1 v1.58.1
google.golang.org/grpc v1.66.0
google.golang.org/protobuf v1.36.5
gopkg.in/DataDog/dd-trace-go.v1 v1.59.1
)

require (
contrib.go.opencensus.io/exporter/stackdriver v0.13.4 // indirect
filippo.io/edwards25519 v1.0.0-rc.1 // indirect
github.com/DataDog/appsec-internal-go v1.0.2 // indirect
github.com/BurntSushi/toml v1.4.0 // indirect
github.com/DataDog/appsec-internal-go v1.4.0 // indirect
github.com/DataDog/datadog-agent/pkg/obfuscate v0.48.0 // indirect
github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.48.1 // indirect
github.com/DataDog/datadog-go/v5 v5.3.0 // indirect
github.com/DataDog/go-libddwaf/v2 v2.1.0 // indirect
github.com/DataDog/go-libddwaf/v2 v2.2.3 // indirect
github.com/DataDog/go-tuf v1.0.2-0.5.2 // indirect
github.com/DataDog/sketches-go v1.4.2 // indirect
github.com/DataDog/zstd v1.5.2 // indirect
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/StackExchange/wmi v1.2.1 // indirect
github.com/VictoriaMetrics/fastcache v1.12.1 // indirect
github.com/Microsoft/go-winio v0.6.2 // indirect
github.com/andybalholm/brotli v1.0.6 // indirect
github.com/apache/thrift v0.16.0 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/bits-and-blooms/bitset v1.10.0 // indirect
github.com/bits-and-blooms/bitset v1.17.0 // indirect
github.com/blendle/zapdriver v1.3.1 // indirect
github.com/btcsuite/btcd v0.23.5-0.20231215221805-96c9fd8078fd // indirect
github.com/btcsuite/btcd/btcec/v2 v2.2.0 // indirect
github.com/btcsuite/btcd v0.24.0 // indirect
github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect
github.com/btcsuite/btcd/btcutil v1.1.5 // indirect
github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0 // indirect
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/cockroachdb/errors v1.8.1 // indirect
github.com/cockroachdb/logtags v0.0.0-20190617123548-eb05cc24525f // indirect
github.com/cockroachdb/pebble v0.0.0-20230928194634-aa077af62593 // indirect
github.com/cockroachdb/redact v1.0.8 // indirect
github.com/cockroachdb/sentry-go v0.6.1-cockroachdb.2 // indirect
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/coinbase/rosetta-sdk-go/types v1.0.0 // indirect
github.com/consensys/bavard v0.1.13 // indirect
github.com/consensys/gnark-crypto v0.12.1 // indirect
github.com/crate-crypto/go-kzg-4844 v0.7.0 // indirect
github.com/consensys/bavard v0.1.22 // indirect
github.com/consensys/gnark-crypto v0.14.0 // indirect
github.com/crate-crypto/go-ipa v0.0.0-20240724233137-53bbb0ceb27a // indirect
github.com/crate-crypto/go-kzg-4844 v1.1.0 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 // indirect
github.com/dfuse-io/logging v0.0.0-20210109005628-b97a57253f70 // indirect
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/ebitengine/purego v0.5.0 // indirect
github.com/ethereum-optimism/superchain-registry/superchain v0.0.0-20231211205419-ff2e152c624f // indirect
github.com/ethereum/c-kzg-4844 v0.4.0 // indirect
github.com/ethereum/go-ethereum v1.13.8 // indirect
github.com/ebitengine/purego v0.5.2 // indirect
github.com/ethereum/c-kzg-4844 v1.0.0 // indirect
github.com/ethereum/go-ethereum v1.13.15 // indirect
github.com/ethereum/go-verkle v0.2.2 // indirect
github.com/facebookgo/clock v0.0.0-20150410010913-600d898af40a // indirect
github.com/fatih/color v1.16.0 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
github.com/gagliardetto/binary v0.7.7 // indirect
github.com/gagliardetto/solana-go v1.8.4 // indirect
github.com/gagliardetto/treeout v0.1.4 // indirect
github.com/go-ole/go-ole v1.2.5 // indirect
github.com/go-ole/go-ole v1.3.0 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/go-stack/stack v1.8.1 // indirect
github.com/goccy/go-json v0.10.2 // indirect
github.com/gofrs/flock v0.8.1 // indirect
github.com/gogo/googleapis v1.4.1 // indirect
github.com/gogo/protobuf v1.3.3 // indirect
github.com/gogo/status v1.1.1 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/mock v1.6.0 // indirect
github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb // indirect
github.com/google/flatbuffers v2.0.8+incompatible // indirect
github.com/google/uuid v1.4.0 // indirect
github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.22.0 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/hashicorp/hcl v1.0.1-vault-5 // indirect
github.com/holiman/uint256 v1.2.4 // indirect
github.com/holiman/uint256 v1.3.2 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/asmfmt v1.3.2 // indirect
github.com/klauspost/compress v1.17.1 // indirect
github.com/klauspost/compress v1.17.11 // indirect
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/logrusorgru/aurora v2.0.3+incompatible // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-runewidth v0.0.15 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8 // indirect
github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3 // indirect
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
Expand All @@ -116,63 +108,65 @@ require (
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/mostynb/zstdpool-freelist v0.0.0-20201229113212-927304c0c3b1 // indirect
github.com/mr-tron/base58 v1.2.0 // indirect
github.com/naoina/go-stringutil v0.1.0 // indirect
github.com/naoina/toml v0.1.2-0.20170918210437-9fafd6967416 // indirect
github.com/nexus-rpc/sdk-go v0.3.0 // indirect
github.com/olekukonko/tablewriter v0.0.5 // indirect
github.com/outcaste-io/ristretto v0.2.3 // indirect
github.com/pborman/uuid v1.2.1 // indirect
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
github.com/philhofer/fwd v1.1.2 // indirect
github.com/pierrec/lz4/v4 v4.1.18 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/prometheus/client_golang v1.12.0 // indirect
github.com/prometheus/client_golang v1.14.0 // indirect
github.com/prometheus/client_model v0.5.0 // indirect
github.com/prometheus/common v0.32.1 // indirect
github.com/prometheus/procfs v0.7.3 // indirect
github.com/prometheus/common v0.42.0 // indirect
github.com/prometheus/procfs v0.11.0 // indirect
github.com/prysmaticlabs/prysm/v4 v4.1.0 // indirect
github.com/rivo/uniseg v0.4.4 // indirect
github.com/robfig/cron v1.2.0 // indirect
github.com/rogpeppe/go-internal v1.9.0 // indirect
github.com/sagikazarmark/locafero v0.4.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/secure-systems-lab/go-securesystemslib v0.7.0 // indirect
github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible // indirect
github.com/shirou/gopsutil v3.21.11+incompatible // indirect
github.com/sourcegraph/conc v0.3.0 // indirect
github.com/spf13/afero v1.11.0 // indirect
github.com/spf13/cast v1.6.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/streamingfast/logging v0.0.0-20220405224725-2755dab2ce75 // indirect
github.com/stretchr/objx v0.5.1 // indirect
github.com/stretchr/objx v0.5.2 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
github.com/supranational/blst v0.3.11 // indirect
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect
github.com/supranational/blst v0.3.13 // indirect
github.com/teris-io/shortid v0.0.0-20201117134242-e59966efd125 // indirect
github.com/thomaso-mirodin/intmath v0.0.0-20160323211736-5dc6d854e46e // indirect
github.com/tidwall/gjson v1.16.0 // indirect
github.com/tidwall/match v1.1.1 // indirect
github.com/tidwall/pretty v1.2.1 // indirect
github.com/tinylib/msgp v1.1.8 // indirect
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/twmb/murmur3 v1.1.8 // indirect
github.com/yusufpapurcu/wmi v1.2.2 // indirect
github.com/zeebo/xxh3 v1.0.2 // indirect
go.mongodb.org/mongo-driver v1.12.1 // indirect
go.opencensus.io v0.24.0 // indirect
go.temporal.io/api v1.26.0 // indirect
go.temporal.io/sdk v1.25.1 // indirect
go.temporal.io/api v1.49.1 // indirect
go.temporal.io/sdk v1.35.0 // indirect
go.uber.org/atomic v1.11.0 // indirect
go.uber.org/dig v1.17.0 // indirect
go.uber.org/multierr v1.10.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go4.org/intern v0.0.0-20230525184215-6c62f75575cb // indirect
go4.org/unsafe/assume-no-moving-gc v0.0.0-20230525183740-e7c30c78aeb2 // indirect
golang.org/x/crypto v0.17.0 // indirect
golang.org/x/mod v0.14.0 // indirect
golang.org/x/net v0.19.0 // indirect
golang.org/x/sys v0.15.0 // indirect
golang.org/x/term v0.15.0 // indirect
golang.org/x/text v0.14.0 // indirect
go4.org/unsafe/assume-no-moving-gc v0.0.0-20231121144256-b99613f794b6 // indirect
golang.org/x/crypto v0.37.0 // indirect
golang.org/x/mod v0.22.0 // indirect
golang.org/x/net v0.39.0 // indirect
golang.org/x/sys v0.32.0 // indirect
golang.org/x/term v0.31.0 // indirect
golang.org/x/text v0.24.0 // indirect
golang.org/x/time v0.5.0 // indirect
golang.org/x/tools v0.16.0 // indirect
google.golang.org/genproto v0.0.0-20231120223509-83a465c0220f // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20231120223509-83a465c0220f // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231127180814-3a041ad873d4 // indirect
golang.org/x/tools v0.29.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240827150818-7e3bb234dfed // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240827150818-7e3bb234dfed // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
inet.af/netaddr v0.0.0-20230525184311-b8eac61e914a // indirect
Expand All @@ -181,4 +175,6 @@ require (

replace github.com/gogo/protobuf v1.3.3 => github.com/gogo/protobuf v1.3.2

replace github.com/ethereum/go-ethereum => github.com/ethereum-optimism/op-geth v1.101304.2
replace github.com/ethereum/go-ethereum => github.com/ethereum-optimism/op-geth v1.101500.0

replace github.com/coinbase/chainstorage => github.com/cipherowl-ai/chainstorage v0.0.1-20250928
Loading