/rollup.v1

Smart contracts utilized in rollup backend

Primary LanguageSolidityMIT LicenseMIT

CCSLOGO

Rollup v1.0

CloutContracts is a next gen blockchain development platform targeting creators and social influencers looking to quickly deploy their own network, or even professional blockchain architects. We are interplorabile and multichain compatible. Not only this, but we are the native token behind a high speed rollup layer.

Code:

pragma solidity ^0.5.15;
import { ParamManager } from "./libs/ParamManager.sol";
import { NameRegistry as Registry } from "./NameRegistry.sol";
import { IncrementalTree } from "./IncrementalTree.sol";
import { DepositManager } from "./DepositManager.sol";
import { Token } from "./Token.sol";
import { Rollup } from "./rollup.sol";
import { TokenRegistry } from "./TokenRegistry.sol";
import { Logger } from "./logger.sol";
import { MerkleTreeUtils as MTUtils } from "./MerkleTreeUtils.sol";
import { Governance } from "./Governance.sol";
...

Instructions

For running locally

git clone https://github.com/CloutContracts/node.git
cd node

make build
docker run --name=mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=<your-password> -d mysql
docker run --name myadmin -d --link mysql:db -p 8080:80 phpmyadmin/phpmyadmin

make init

Update the parameters in the config.toml file
make migration-up
make start

Read the whitepaper here