Bitcoin Forum
May 02, 2024, 09:53:59 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: JSON-RPC spec for Wallets  (Read 80 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
Even in the event that an attacker gains more than 50% of the network's computational power, only transactions sent by the attacker could be reversed or double-spent. The network would not be destroyed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714686839
Hero Member
*
Offline Offline

Posts: 1714686839

View Profile Personal Message (Offline)

Ignore
1714686839
Reply with quote  #2

1714686839
Report to moderator
BitMaxz
Legendary
*
Offline Offline

Activity: 3248
Merit: 2955


Block halving is coming.


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: 1596
Merit: 6723


bitcoincleanup.com / bitmixlist.org


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.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
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!