没有合适的资源?快使用搜索试试~ 我知道了~
glia-sudt-swap-matcher
共96个文件
ts:79个
js:4个
mol:3个
需积分: 9 0 下载量 162 浏览量
2021-03-30
19:46:46
上传
评论
收藏 230KB ZIP 举报
温馨提示
Glia交换匹配器 Glia Swap Matcher用于匹配CKB网络上的Glia Swap要求,例如mainnet Lina和testnet Aggron 踢起来 纱线安装 纱线运行开始 踢起来之前 设定档 存储库根目录下有一个名为cooperator.env.example的模板.env示例。 您需要一个.env配置来支持必要的信息。 顺便说一句,Glia交换匹配器使用'dotenv'收集信息,您可以通过'dotenv'支持的方式来交付配置。 您可以使用DOTENV_CONFIG_PATH指向您的config .env文件。 为什么我们需要Glia交换匹配器? Glia Swap Matcher是CKB网络上Glia Swap的匹配器。 为什么与以太坊上的uniswap不同,我们在CKB网络上需要一个额外的匹配器? 由于CKB网络使用“信元”模型,这是一种确定性的状态转换,
资源推荐
资源详情
资源评论
收起资源包目录
glia-sudt-swap-matcher-master.zip (96个子文件)
glia-sudt-swap-matcher-master
.gitignore 3KB
Dockerfile 211B
package.json 2KB
src
ckb2sudt
container.ts 155B
utils
witness.d.ts 3KB
blockchain.d.ts 9KB
workerEnv.ts 15KB
workerLogger.ts 500B
witness.js 11KB
blockchain.js 39KB
ckb2SudtWorker.ts 1KB
modules
services
taskService.ts 6KB
scanService.ts 9KB
transactionService.ts 7KB
monitorService.ts 784B
rpcService.ts 6KB
matcherService.ts 18KB
models
cells
ckb.ts 1KB
pool.ts 3KB
info.ts 4KB
interfaces
CellInputType.ts 179B
CellOutputType.ts 171B
sudt.ts 1KB
swapSellReq.ts 4KB
lpt.ts 2KB
matcherChange.ts 3KB
swapBuyReq.ts 4KB
liquidityAddReq.ts 4KB
liquidityRemoveReq.ts 4KB
transformation
swapBuyTransformation.ts 1KB
swapSellTransformation.ts 1KB
interfaces
CellInputGenerator.ts 83B
CellOutputGenerator.ts 132B
transformation.ts 502B
liquidityAddTransformation.ts 3KB
liquidityInitTransformation.ts 2KB
liquidityRemoveTransformation.ts 2KB
matches
matchRecord.ts 2KB
controllers
monitorController.ts 2KB
bootstrap.ts 2KB
cooperator.ts 19KB
schema
basic.mol 150B
blockchain.mol 2KB
witness.mol 2KB
index.ts 206B
cooperatorLogger.ts 440B
cooperatorEnv.ts 5KB
tools.ts 4KB
monitor.ts 1KB
sudt2sudt
container.ts 155B
sudt2SudtWorker.ts 1KB
utils
witness.d.ts 3KB
blockchain.d.ts 9KB
workerEnv.ts 19KB
workerLogger.ts 527B
witness.js 11KB
blockchain.js 39KB
modules
services
taskService.ts 6KB
scanService.ts 10KB
transactionService.ts 8KB
monitorService.ts 784B
rpcService.ts 6KB
matcherService.ts 22KB
models
cells
ckb.ts 1KB
info.ts 4KB
poolX.ts 3KB
interfaces
CellInputType.ts 186B
CellOutputType.ts 171B
poolY.ts 3KB
sudtY.ts 1KB
swapSellReq.ts 4KB
lpt.ts 2KB
matcherChange.ts 3KB
swapBuyReq.ts 4KB
liquidityAddReq.ts 6KB
sudtX.ts 1KB
liquidityRemoveReq.ts 4KB
transformation
swapBuyTransformation.ts 2KB
swapSellTransformation.ts 2KB
interfaces
CellInputGenerator.ts 90B
CellOutputGenerator.ts 132B
transformation.ts 502B
liquidityAddTransformation.ts 3KB
liquidityInitTransformation.ts 2KB
liquidityRemoveTransformation.ts 2KB
matches
matchRecord.ts 2KB
controllers
monitorController.ts 2KB
bootstrap.ts 2KB
jest.config.ts 271B
LICENSE.md 1KB
.dockerignore 27B
cooperator.env.example 5KB
tsconfig.json 796B
README.md 3KB
swagger
index.html 4KB
yarn.lock 276KB
共 96 条
- 1
资源评论
唐荣轩
- 粉丝: 31
- 资源: 4626
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功