feature/did swt ante (#22)

* feat: add support for vault allocation

* feat(dwn): Add IPFS client

* refactor: move GetDefaultBypassFeeMessages to ibc/module.go

* refactor(did): clean up genesis state definition

* feat: remove global integrity proof requirement

* feat: remove gas consumption for tx size

* feat: add registration route

* refactor: centralize response handling in the  package

* feat(types): add account and pubkey types

* refactor: simplify dockerfile process-compose.yaml copy
This commit is contained in:
Prad Nukala
2024-09-24 17:54:33 -04:00
committed by GitHub
parent 750559ff19
commit 97b3f9836a
184 changed files with 4020 additions and 18495 deletions
-1
View File
@@ -1 +0,0 @@
package handlers
-1
View File
@@ -1 +0,0 @@
package handlers
-1
View File
@@ -1 +0,0 @@
package handlers
+3 -3
View File
@@ -14,16 +14,16 @@ import (
"github.com/labstack/echo/v4"
promise "github.com/nlepage/go-js-promise"
"github.com/onsonr/sonr/internal/dwn/handlers"
"github.com/onsonr/sonr/internal/dwn/middleware"
"github.com/onsonr/sonr/internal/dwn/state"
"github.com/onsonr/sonr/pkg/nebula"
)
func main() {
e := echo.New()
e.Use(middleware.UseSession)
nebula.RouteViews(e)
handlers.RegisterState(e)
nebula.RegisterHandlers(e)
state.RegisterHandlers(e)
Serve(e)
}
@@ -1,4 +1,4 @@
package handlers
package state
import (
"encoding/json"
+1
View File
@@ -0,0 +1 @@
package state
@@ -1,4 +1,4 @@
package handlers
package state
import (
"github.com/labstack/echo/v4"
@@ -1,11 +1,11 @@
package handlers
package state
import (
"github.com/labstack/echo/v4"
middleware "github.com/onsonr/sonr/internal/dwn/middleware"
)
func RegisterState(e *echo.Echo) {
func RegisterHandlers(e *echo.Echo) {
g := e.Group("state")
g.POST("/login/:identifier", handleCredentialAssertion)
// g.GET("/discovery", state.GetDiscovery)
+1
View File
@@ -0,0 +1 @@
package state
+1
View File
@@ -0,0 +1 @@
package state