Other

项目介绍

loomnetwork/plasma-cash 是一个托管在 GitHub 上的开源项目,主要使用 JavaScript 编写,采用 Other 许可证,目前获得 267 个 Star、61 次 Fork。

仓库全名
loomnetwork/plasma-cash
开源许可证
Other
Star 数
267
Fork 数
61
未关闭 Issue
15

README 摘要

Plasma Cash - ERC721/ERC20/ETH Supported Installation and Loom SDK integration To see the integrations run against the Loom SDK you must download the loom SDK, refer to https://loomx.io/developers/docs/en/basic-install-osx.html. Under the loomtest directory there are all the samples in Go, that directly interact with Loom SDK. If you have cloned the repo and go dependencies are not found, in loomtest try: Demo Flow…

完整内容见 GitHub 原始 README 或本页 。

常见问题

plasma-cash 用什么语言开发?

主要使用 JavaScript 编写,采用 Other 许可证,目前有 267 个 Star。

plasma-cash 可以免费商用吗?

仓库标注的许可证为 Other,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 plasma-cash 的源码?

可以直接克隆仓库:git clone https://github.com/loomnetwork/plasma-cash.git,默认分支为 master;安装与运行步骤见仓库 README。

plasma-cash 最近还在维护吗?

仓库最近一次更新为 2019年2月15日,当前有 15 个未关闭 Issue;Star 数为 267,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Plasma Cash Contract & Client. ERC721, ERC20, and ETH compatible

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
420
价值分
180
活跃状态
活跃

语言占比

Go
JavaScript
Makefile
Shell
Solidity

README

Plasma Cash - ERC721/ERC20/ETH Supported

Installation and Loom SDK integration

To see the integrations run against the Loom SDK you must download the loom SDK, refer to https://loomx.io/developers/docs/en/basic-install-osx.html.

Under the loom_test directory there are all the samples in Go, that directly interact with Loom SDK. If you have cloned the repo and go dependencies are not found, in loom_test try:

export GOPATH=$GOPATH:`pwd`

Demo Flow

  1. Alice registers and is given coins 1-5 from the token contract
  2. Alice deposits Coin 1, Coin 2, Coin 3 in the plasma chain
  3. 3 Deposit Blocks have been generated in the child chain, each one having 1 UTXO at slots 0,1,2 respectively
  4. Alice sends Coin 1 to Bob, adding the transaction to the current block.
  5. Operator calls submitBlock, checkpointing the block merkle root which includes the transaction that gives ownership to Charlie - At this point, both the child chain and the root chain, have checkpointed Alice’s transaction at block number 1000.
  6. Bob transfers the previous UTXO to Charlie and the operator submits that block as well
  7. Charlie tries to exit Coin 1, Alice & Bob do not challenge
  8. After the challenge period passes, Charlie is able to withdraw his coin

Loom integration tests

cd server
npm install
npm run test
cd .. 

cd loom_test
make clean
make deps
make demos
make contracts
make test
cd ..

cd loom_js_test
yarn
yarn build
yarn copy-contracts
cd ..

LOOM_BIN=<ABSOLUTE_PATH_TO_LOOM> ./loom_integration_test.sh

License info

Please note different directories have different licenses. Please see license file in each folder respectively

All derivitive works of this code must incluse this copyright header on every file

// Copyright Loom Network 2018 - All rights reserved, Dual licensed on GPLV3
// Learn more about Loom DappChains at https://loomx.io
// All derivitive works of this code must incluse this copyright header on every file 
  • server directory -> GPLv3 License
  • loom_test directory -> Loom Public License License

评论

暂无评论