Thursday, 9 September 2021

Free BCH API for developers via IPFS

There are now four IPFS peers that serve free bch-api access to the BCH blockchain and SLP tokens, and a fifth peer is in the works:

You can all access it with psf-bch-wallet, which is a node.js JavaScript, open-source, MIT licensed command-line wallet:

Here is a video on how to install and use this command-line wallet:

You don't need to be a developer to use it. If you install node.js on your computer, you can install the wallet app and dip your toes into the waters of JavaScript and IPFS. If you are a developer, the wallet is super easy to hack on. Each command has easy-access, self-contained code.

The Permissionless Software Foundation is also developing a censorship-resistant pay-to-write database (P2WDB). If you like the video above, check these videos out:

If you issue the wallet-service command, this is what you should see:

Wallet service peers: [ { "addr": "/p2p/QmP4bxz4w6tBoJ3k9XzNJmN4F6xkt1rPe6xstq9spmnqzM", "peer": "QmVpRQTMbYuTcEPLk8Tfuta8Zohe2M8iNvwDeAV4c7kQhM", "direction": "inbound", "name": "fullstack-bch-wallet-service-EU", "protocol": "bch-wallet", "version": "1.11.12", "isSelected": false }, { "addr": "/ip4/137.184.13.92/tcp/5269/ws/p2p/QmStCBhmkxSSrbPbYyLcHPiEH45BhibGfEf6FqwpCXeKhU", "peer": "QmStCBhmkxSSrbPbYyLcHPiEH45BhibGfEf6FqwpCXeKhU", "direction": "outbound", "name": "bch-service-US-cali", "protocol": "bch-wallet", "version": "1.11.12", "isSelected": false }, { "addr": "/p2p/QmP4bxz4w6tBoJ3k9XzNJmN4F6xkt1rPe6xstq9spmnqzM", "peer": "QmXZ4fqVuvWsu3RBumarN8q6c9AuD4Aiqtpgr5zaKSrFiK", "direction": "inbound", "name": "bch-wallet-service-US-PDX", "protocol": "bch-wallet", "version": "1.11.12", "isSelected": true }, { "addr": "/ip4/192.168.0.76/tcp/5669/ws/p2p/QmTWd6MfWe3LNSBPRGufnV7pBFX8tWR7Dqs41VJ44Agite", "peer": "QmTWd6MfWe3LNSBPRGufnV7pBFX8tWR7Dqs41VJ44Agite", "direction": "outbound", "name": "decatur-bch-wallet-service", "protocol": "bch-wallet", "version": "1.11.12", "isSelected": false } ] 
submitted by /u/trout-bch
[link] [comments]

source https://www.reddit.com/r/btc/comments/pkjwk8/free_bch_api_for_developers_via_ipfs/

No comments:

Post a Comment