Bitcoin Forum
July 24, 2024, 07:24:22 PM *
News: Help 1Dq create 15th anniversary forum artwork.
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: JSON-RPC spec for Wallets  (Read 88 times)
GiMa-Maya (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
June 26, 2023, 10:41:02 PM
 #1

Hey there.
I’m working on an integration and I’m looking for a JSON-RPC spec for Wallets for Bitcoin. (Similar to this one from Ethereum https://ethereum.org/en/developers/docs/apis/json-rpc/ ). Does it already exist?
Thank you in advance
BitMaxz
Legendary
*
Offline Offline

Activity: 3318
Merit: 3065


BTC price road to $80k


View Profile WWW
June 26, 2023, 11:51:37 PM
Merited by pooya87 (2), ABCbits (1)
 #2

With a little bit of research using Google you can find them.

Anyway, check these links that I gather from Google these might be what you looking for.

- https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)
- https://developer.bitcoin.org/reference/rpc/
- https://github.com/bitcoin/bitcoin/blob/master/doc/JSON-RPC-interface.md

If you don't mind can I ask if you are planning to develop your own wallet?

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
NotATether
Legendary
*
Offline Offline

Activity: 1680
Merit: 7073


In memory of o_e_l_e_o


View Profile WWW
June 27, 2023, 11:56:31 AM
 #3

It's better to use Bitcoin JSON-RPC only for querying stuff like transactions (including when you create a temporary wallet to harvest the list of address transactions), fees, block height, UTXOs (can be done without a wallet), and so forth.

It is not advisable to store the wallet itself inside Bitcoin Core because it has questionable wallet loading speed, especially for wallets with many keys and/or transactions, expect it to take hours. But instead, you should try to fetch transaction data once and store it locally in a file.
GiMa-Maya (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
June 28, 2023, 08:59:28 PM
 #4

Hey. We’re going to add Bitcoin to Wallet Connect.
For that, we need a RPC, and add a namespace for bitcoin here https://github.com/ChainAgnostic/namespaces#
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!