MCPcopy Index your code
hub / github.com/deso-protocol/backend

github.com/deso-protocol/backend @v4.0.6

Chat with this repo
repository ↗ · DeepWiki ↗ · release v4.0.6 ↗ · + Follow
1,395 symbols 3,752 edges 91 files 477 documented · 34%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

DeSo Logo

About DeSo

DeSo is a blockchain built from the ground up to support a fully-featured social network. Its architecture is similar to Bitcoin, but it also supports complex social network data like profiles, posts, follows, creator coin transactions, and more.

Read about the vision

About This Repo

Documentation for this repo lives on docs.deso.org. Specifically, the following docs should give you everything you need to get started:

Common Errors and their solutions

These are common errors you may encounter in getting ./n0_test to succeed.

If you encounter an error not mentioned here in setting up your installation, please share the solution here with the community

no pkg-config

Error

# pkg-config --cflags  -- vips vips vips vips
pkg-config: exec: "pkg-config": executable file not found in $PATH

Solution

brew install pkg-config

no vips

Error

# pkg-config --cflags  -- vips vips vips vips
Package vips was not found in the pkg-config search path.
Perhaps you should add the directory containing `vips.pc'
to the PKG_CONFIG_PATH environment variable
No package 'vips' found

Solution

brew install vips

invalig pkg-config flag

Error

go build github.com/h2non/bimg: invalid flag in pkg-config --cflags: -Xpreprocessor

Solution

export CGO_CFLAGS_ALLOW="-Xpreprocessor"

Error

ld: library not found for -lvips
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Solution

go clean -cache

Have more questions?

DeepWiki (powered by Devin AI) provides up-to-date documentation you can talk to for this repo, click the button below to try it out.

Ask DeepWiki

Extension points exported contracts — how you extend this code

ExtraDataDecoderFunc (FuncType)
(no doc)
routes/extra_data_utils.go
ExtraDataEncoderFunc (FuncType)
(no doc)
routes/extra_data_utils.go

Core symbols most depended-on inside this repo

_AddBadRequestError
called by 1589
routes/shared.go
String
called by 186
routes/stake.go
_AddInternalServerError
called by 185
routes/shared.go
APIAddError
called by 61
routes/exchange.go
Put
called by 53
routes/global_state.go
Get
called by 51
routes/global_state.go
IsDesoPkid
called by 47
routes/dao_coin_exchange.go
getTransactionFee
called by 43
routes/transaction.go

Shape

Method 561
Struct 519
Function 296
TypeAlias 17
FuncType 2

Languages

Go100%

Modules by API surface

routes/user.go120 symbols
routes/transaction.go102 symbols
routes/global_state.go85 symbols
routes/verify.go58 symbols
routes/nft.go55 symbols
routes/hot_feed.go45 symbols
routes/dao_coin_exchange.go45 symbols
routes/post.go44 symbols
routes/exchange.go44 symbols
routes/access_group.go43 symbols
routes/server.go42 symbols
routes/admin_user.go38 symbols

For agents

$ claude mcp add backend \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact