Barrister RPC IDL of Namecoin API brainstorm [closed]
Posted: Wed Apr 02, 2014 4:51 am
Barrister RPC generates native JSON-RPC libraries uses an Interface Description Language. This would give Namecoin client libraries in Python, Java, PHP, Node.js, and Ruby, greatly reducing the amount of work needed to get started with Namecoin. I think such a library would be a prudent use of the NMC development fund, especially given its current size.
I would suggest 3 goals, one for a basic command set, another for the full command set, and a third which includes full unit tests for all functions akin to node-bitcoin's test harness (although, a mock server might be an acceptable substitute to a live Namecoin testnet-in-a-box).
For the basline goal:
**Update**
The IDL files have to have full in-line documentation as well, nothing major, mostly copy and paste from the wiki. Barrister will wrangle this into a standardized format so we can use it to generate generic Namecoin's API documentation : ).
I would suggest 3 goals, one for a basic command set, another for the full command set, and a third which includes full unit tests for all functions akin to node-bitcoin's test harness (although, a mock server might be an acceptable substitute to a live Namecoin testnet-in-a-box).
For the basline goal:
- name_list
- name_scan
- name_show
- name_filter
- getblockcount
- getinfo
- validateaddress
- stop
**Update**
The IDL files have to have full in-line documentation as well, nothing major, mostly copy and paste from the wiki. Barrister will wrangle this into a standardized format so we can use it to generate generic Namecoin's API documentation : ).