cord.js is an SDK to connect to CORD. We have a requirement to write the same SDK in Golang.
As part of this we have to first create the core SDK modules that include the DID and Chainspace. Scope of this issue it to create an SDK in Golang along with any dependencies.
Goals
[ ] Basic framework of the SDK established, able to connect to CORD
[ ] Replication of all packages present currently in CORD.js ex: statement, asset, network-score etc.
Weekly Learnings & Updates (To be filled by contributor)
Week 1
Learning 1 - I learned how to organise a package into multiple modules for the initializing the project, also while playing around I learnt how to publish a go package.
Learning 2 - I also learnt to implement basic connection between the Go SDK and the CORD network through gsrpc substrate package.
Learning 3 - Also learnt types play a very crucial role in building Go packages and sometimes we have to build some custom types which I am working on.
Description
cord.js is an SDK to connect to CORD. We have a requirement to write the same SDK in Golang. As part of this we have to first create the core SDK modules that include the DID and Chainspace. Scope of this issue it to create an SDK in Golang along with any dependencies.
Goals
statement, asset, network-score
etc.Expected Outcome
We should have a functioning sdk written in Golang that connects to CORD and is able to make calls to CORD
Acceptance Criteria
Fully functioning SDK written in Golang with all the available methods/functions implemented A working demo script similar to https://github.com/dhiway/cord.js/blob/develop/demo/src/func-test.ts All the unit test cases implemented
Implementation Details
Refer cord.js repo for reference SDK written in typescript, this needs to be replicated in Golang Refer to the documentation https://docs.cord.network/cordjs/integratecord/ for the detailed explanation on the working of demo script https://github.com/dhiway/cord.js/blob/develop/demo/src/func-test.ts Note: There will be some dependency modules before these two modules can work
Mockups/Wireframes
NA
Product Name
cord sdk in Golang
Organisation Name
Dhiway
Domain
Open Source Library
Tech Skills Needed
Go, TypeScript
Mentors
@vatsa287 @adi-a11y @amarts @NiranjanAP
Category
Other