mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-01 07:25:26 +08:00
This module contains smart contracts for the data marketplace. It was generated with Truffle. Truffle can be used to compile and test the smart contracts. It's being tested on a test blockhain using Ganache.
Steps to test:
- Download and run Ganache
- Ensure that your Ganache endpoint matches
truffle.js - In this
marketplacefolder, run the following commands:truffle compiletruffle testtruffle migrate --resettruffle console- From the console:
Marketplace.deployed()
- The deployed method displays info about the deployed smart contract
including its address. Copy/paste the address into
catalyst/marketplace/marketplace.py. - Run the catalyst marketplace unit tests:
tests/marketplace/test_marketplace.py