Getting Started Guide

Prerequisites

  • ​Zeus - Zeus installs eos and the eosio.cdt if not already installed
  • ​Kylin Account - CrypoKylin testnet account to set contract to and push transactions

Unbox

Once you've got Zeus installed, you can unbox the ipfs-dapp-service , compile the contracts, and run the unit tests.
1
mkdir mydapp; cd mydapp
2
zeus box create
3
zeus unbox ipfs-dapp-service
4
zeus test -c
Copied!
You can find the contracts in the ./contracts directory and specifically the contracts related to the DAPP Network in the ./contracts/eos/dappservices directory.

Create Your Own Contract

To create your own contract you can copy the ./contracts/eos/ipfsconsumer contract which is an example consumer contract.
Or you can run the following to create an example contract with all of the DAPP Network Service smart contract dependencies.
1
zeus create contract mycontract
2
# zeus compile mycontract
Copied!
From this example contract which includes all of the DAPP Network services, you can trim back the unneeded code.
​
Last modified 7mo ago