mirror of
https://github.com/Permissionless-Software-Foundation/x402-base-facilitator.git
synced 2026-09-21 16:52:01 -07:00
Merge pull request #15 from Permissionless-Software-Foundation/ct-unstable
Removing comments
This commit is contained in:
@@ -61,34 +61,4 @@ class Controllers {
|
||||
}
|
||||
}
|
||||
|
||||
// Top-level function for this library.
|
||||
// Start the various Controllers and attach them to the app.
|
||||
// async function attachControllers (app) {
|
||||
// // Attach the REST controllers to the Koa app.
|
||||
// attachRESTControllers(app)
|
||||
//
|
||||
// // Start IPFS.
|
||||
// await adapters.ipfs.start()
|
||||
//
|
||||
// attachRPCControllers()
|
||||
// }
|
||||
//
|
||||
// function attachRESTControllers (app) {
|
||||
// const rESTControllers = new RESTControllers({
|
||||
// adapters,
|
||||
// useCases
|
||||
// })
|
||||
//
|
||||
// // Attach the REST API Controllers associated with the boilerplate code to the Koa app.
|
||||
// rESTControllers.attachRESTControllers(app)
|
||||
// }
|
||||
|
||||
// // Add the JSON RPC router to the ipfs-coord adapter.
|
||||
// function attachRPCControllers () {
|
||||
// const jsonRpcController = new JSONRPC({ adapters, useCases })
|
||||
//
|
||||
// // Attach the input of the JSON RPC router to the output of ipfs-coord.
|
||||
// adapters.ipfs.ipfsCoordAdapter.attachRPCRouter(jsonRpcController.router)
|
||||
// }
|
||||
|
||||
module.exports = Controllers
|
||||
|
||||
Reference in New Issue
Block a user