ordinals / ord

👁‍🗨 Rare and exotic sats
https://ordinals.com
Creative Commons Zero v1.0 Universal
3.79k stars 1.33k forks source link

API to perform CLI actions #2935

Open s1mple1122 opened 7 months ago

s1mple1122 commented 7 months ago

Can ORD provide a complete set of RPC to implement all the functionalities of the CLI? Or maybe these functionalities already exist, but I am unaware of them. I couldn’t find specific usage instructions in the documentation, only simple requests for viewing on-chain data, and no instructions for viewing wallet-specific data

casey commented 7 months ago

We're slowly moving towards a model where ord can do everything by talking to a local ord index, which can run in the background. As we do this, we'll add additional APIs to the server/index, to support this, so this should get better as we move forward.

s1mple1122 commented 7 months ago

Ord 并不想成为比特币-cli。使用 bitcoin-cli 来实现这些功能。

If we use bitcoin-cli to implement it, you know, the learning cost is very high.

s1mple1122 commented 7 months ago

我们正在慢慢转向一种模型,ord可以通过与本地ord索引对话来完成所有操作,该索引可以在后台运行。当我们这样做时,我们将向服务器/索引添加额外的 API,以支持这一点,因此随着我们的前进,这应该会变得更好。

Thank you for your reply, I understand