拍卖Dapp:https:gitcoin.coissuePolkadot-Networkhello-world-by-polkadot2100023928

时间:2021-03-01 19:44:51
【文件属性】:
文件名称:拍卖Dapp:https:gitcoin.coissuePolkadot-Networkhello-world-by-polkadot2100023928
文件大小:2.96MB
文件格式:ZIP
更新时间:2021-03-01 19:44:51
JavaScript Polkadot Hackathon 介绍 这是一个简单的拍卖,以墨迹合同的形式写成,并作为Web组件脚本部署到本地运行的基材节点上,它与一个简单的前端一起部署,从而可以创建拍卖和项目竞标。 dApp将接受投标,直到投标时间过去为止,此时不再接受任何投标。 可以随时收回丢失的投标,只有在拍卖结束后才可以申领/转让中标。 只有在先前的拍卖结束后才能开始新的拍卖。 安装 $ cd substrate-front-end-template $ yarn install $ cd .. $ cd substrate-node-template $ WASM_BUILD_TOOLCHAIN=nightly-2020-10-05 cargo build --release 运行节点和前端并上载合同(auction.wasm) $ ./target/release/node-template --
【文件预览】:
auction-dapp-main
----1-upload-wasm.png(237KB)
----7-auction-finished.png(286KB)
----substrate-front-end-template()
--------.gitignore(40B)
--------README.md(4KB)
--------.nvmrc(11B)
--------.env(29B)
--------public()
--------LICENSE(1KB)
--------package.json(2KB)
--------src()
--------yarn.lock(510KB)
----6-bob-stash-bid.png(294KB)
----substrate-node-template()
--------.gitignore(242B)
--------.devcontainer()
--------README.md(7KB)
--------.github()
--------Cargo.toml(113B)
--------runtime()
--------.vscode()
--------docker-compose.yml(512B)
--------LICENSE(1KB)
--------pallets()
--------scripts()
--------node()
----4-alice-stash-bid.png(299KB)
----9-alice-stash-returnable-funds.png(286KB)
----2-ink-auction.png(218KB)
----12-bob-retrieves-funds.png(279KB)
----5-bob-bid.png(286KB)
----8-alice-calls-complete.png(279KB)
----readme.md(3KB)
----11-bob-returnable-funds.png(285KB)
----ink-auction-contract()
--------.gitignore(285B)
--------Cargo.toml(1KB)
--------auction.wasm(46KB)
--------lib.rs(7KB)
--------metadata.json(14KB)
----3-new-auction.png(295KB)
----10-alice-stash-retrieves-funds.png(280KB)

网友评论