cosmos / cosmos-sdk

:chains: A Framework for Building High Value Public Blockchains :sparkles:
https://cosmos.network/
Apache License 2.0
6.31k stars 3.64k forks source link

No apis for creating accounts and sending transaction #16323

Closed mostafamshk closed 1 year ago

mostafamshk commented 1 year ago

hi guys. I am using cosmos-sdk to build a blockchain in production mode. after building and developing the project and configuring nodes, the cosmos-sdk prepares a list of pre-configured apis at the port 26656 or 26657 on the nodes IPs. it's something like this : Capture

as you see, there is no api for interacting with network accounts and also for sending transactions. I know that the project binary provides commands for these purposes. But isn't there any pre-defined api for these subjects?

tac0turtle commented 1 year ago

hey the photo you shared above is comets rpc layer. Cosmos-SDK exposes its own rest & grpc layer. You can find the api here https://docs.cosmos.network/swagger/