NewsFakeToken

所属分类:NFT
开发工具:TypeScript
文件大小:308KB
下载次数:0
上传日期:2021-08-20 16:24:51
上 传 者sh-1993
说明:  追踪假新闻的NFT
(An NFT for tracing Fake News)

文件列表:
LICENSE (1062, 2021-08-21)
Makefile (3506, 2021-08-21)
backend (0, 2021-08-21)
backend\.env.dist (39, 2021-08-21)
backend\.eslintrc.js (326, 2021-08-21)
backend\.prettierrc (106, 2021-08-21)
backend\package.json (821, 2021-08-21)
backend\src (0, 2021-08-21)
backend\src\index.ts (1888, 2021-08-21)
backend\src\types.ts (419, 2021-08-21)
backend\tsconfig.json (305, 2021-08-21)
contracts (0, 2021-08-21)
contracts\.env.ci (11, 2021-08-21)
contracts\.env.dist (16, 2021-08-21)
contracts\.eslintrc.js (360, 2021-08-21)
contracts\.prettierrc (106, 2021-08-21)
contracts\config.ts (1676, 2021-08-21)
contracts\helpers (0, 2021-08-21)
contracts\helpers\saveContractAddress.ts (165, 2021-08-21)
contracts\helpers\sleep.ts (136, 2021-08-21)
contracts\metadata.json (922, 2021-08-21)
contracts\migrations (0, 2021-08-21)
contracts\migrations\1_deploy_NFTS_contract.ts (1304, 2021-08-21)
contracts\package.json (1039, 2021-08-21)
contracts\scripts (0, 2021-08-21)
contracts\scripts\deploy.sh (260, 2021-08-21)
contracts\src (0, 2021-08-21)
contracts\src\NFTS_contract.mligo (16710, 2021-08-21)
contracts\tests (0, 2021-08-21)
contracts\tests\e2e (0, 2021-08-21)
contracts\tests\e2e\NFTS_contract.test.ts (2030, 2021-08-21)
contracts\tests\integration (0, 2021-08-21)
contracts\tests\integration\NFTS_contract_test.py (922, 2021-08-21)
contracts\tests\integration\Pipfile (242, 2021-08-21)
contracts\tests\integration\Pipfile.lock (30638, 2021-08-21)
... ...

# NewsFakeToken An NFT for tracing Fake News Testnet contract (florence): [KT1HkboDG2g1YBSRKquH1cKsxwKAB5K1Eg2K](https://better-call.dev/florencenet/KT1HkboDG2g1YBSRKquH1cKsxwKAB5K1Eg2K/operations) ## Packages yarn workspaces are used in order to be able to import contract addresses in the dapp. There are 3 packages: - backend: Express API - contracts: Custom scripts with taquito, test with mocha/chai, contract with ligo - minter: React app ## Dev - make install / install dependencies - make infra-up / start the infra - make backend-start / start the API - make minter-start / start the minter dapp - make contracts-compile / compile contracts - make contracts-deploy dev / deploy contracts Go to https://app.pinata.cloud and get a key pair, put them in `backend/.env` Typical workflow: Make sure your infra is started if you wish to use local sandbox. - make contracts-compile - make contracts-deploy - make contracts-tests - make minter-start - make backend-start Go to http://localhost:3000 ## Sandbox You can enter the sandbox with `docker compose exec sandbox ash`. To import keys, run: (TODO fix config) - `tezos-client import secret key alice unencrypted:edsk3QoqBuvdamxouPhin7swCvkQNgq4jP5KZPbwWNnwdZpSpJiEbq` - `tezos-client import secret key bob unencrypted:edsk3RFfvaFaxbHx8BMtEW1rKQcPtDML3LXjNqMNLCzC3wLC1bWbAt` ## Testnet Run `make conf` to update config. ## IPFS TODO add ipfs docker image in infra to have full offline local dev environment. ## Resources - https://github.com/tezos-contrib/components-library - https://github.com/tzConnectBerlin/developers-presentation - https://medium.com/ecad-labs-inc/how-to-mint-nfts-on-tezos-using-taquito-and-pinata-15a407078495 - https://github.com/claudebarde/taquito-pinata-tezos-nft/

近期下载者

相关文件


收藏者