ergoplatform/ergo

Wrap primitive types in communication between API and the core

Open

#1,005 opened on Dec 18, 2019

 (1 comment) (0 reactions) (0 assignees)Scala (201 forks)github user discovery
A-apiB-100 Ergbountyhelp wanted

Repository metrics

Stars
 (519 stars)
PR merge metrics
 (Avg merge 12d 5h) (13 merged PRs in 30d)

Description

Currently in many places core is responding with primitive Scala types to requests from API method implementations.

One concrete example is InitWallet / RestoreWallet.

It would be more descriptive to use logic-related types by using (case class) wrappers or type aliases.

Contributor guide