Bitcoin Forum
November 06, 2024, 09:46:05 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: JSON-RPC spec for Wallets  (Read 106 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: 3430
Merit: 3165


Playbet.io - Crypto Casino and Sportsbook


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?

███████████████
█████████████████████
██████▄▄███████████████
██████▐████▄▄████████████
██████▐██▀▀▀██▄▄█████████
████████▌█████▀██▄▄██████
██████████████████▌█████
█████████████▀▄██▀▀██████
██████▐██▄▄█▌███████████
██████▐████▀█████████████
██████▀▀███████████████
█████████████████████
███████████████

.... ..Playbet.io..Casino & Sportsbook.....Grab up to  BTC + 800 Free Spins........
████████████████████████████████████████
██████████████████████████████████████████████
██████▄▄████████████████████████████████████████
██████▐████▄▄█████████████████████████████████████
██████▐██▀▀▀██▄▄██████████████████████████████████
████████▌█████▀██▄▄█████▄███▄███▄███▄█████████████
██████████████████▌████▀░░██▌██▄▄▄██████████████
█████████████▀▄██▀▀█████▄░░██▌██▄░░▄▄████▄███████
██████▐██▄▄█▌██████████▀███▀███▀███▀███▀█████████
██████▐████▀██████████████████████████████████████
██████▀▀████████████████████████████████████████
██████████████████████████████████████████████
████████████████████████████████████████
NotATether
Legendary
*
Offline Offline

Activity: 1778
Merit: 7362


Top Crypto Casino


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.

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
BC.GAME
▄▄▀▀▀▀▀▀▀▄▄
▄▀▀░▄██▀░▀██▄░▀▀▄
▄▀░▐▀▄░▀░░▀░░▀░▄▀▌░▀▄
▄▀▄█▐░▀▄▀▀▀▀▀▄▀░▌█▄▀▄
▄▀░▀░░█░▄███████▄░█░░▀░▀▄
█░█░▀░█████████████░▀░█░█
█░██░▀█▀▀█▄▄█▀▀█▀░██░█
█░█▀██░█▀▀██▀▀█░██▀█░█
▀▄▀██░░░▀▀▄▌▐▄▀▀░░░██▀▄▀
▀▄▀██░░▄░▀▄█▄▀░▄░░██▀▄▀
▀▄░▀█░▄▄▄░▀░▄▄▄░█▀░▄▀
▀▄▄▀▀███▄███▀▀▄▄▀
██████▄▄▄▄▄▄▄██████
.
..CASINO....SPORTS....RACING..


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
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!