/tinlake

Primary LanguageSolidityGNU Affero General Public License v3.0AGPL-3.0

Tinlake Contracts

Open source implementation of Tinlake in Solidity. This repository contains the core contracts of Tinlake.

Tinlake is a set of smart contracts that allows companies and individuals to use tokenized non-fungible real-world assets as collateral to obtain liquidity.

For learning more about how Tinlake works, you can visit the Tinlake documentation.

Getting started

Tinlake uses dapp.tools for development. Please install the dapp client. Then, run the following command to install the dependencies:

dapp update

Testing

The tests for Tinlake are written in Solidity. To set up your environment, you should add these variables:

export DAPP_SOLC_VERSION=0.5.15
export DAPP_TEST_TIMESTAMP=1234567

Run all tests

dapp test

Run specific tests

A regular expression can be used to only run specific tests.

dapp test -m <REGEX>
dapp test -m testName
dapp test -m ':ContractName\.'

Deployment

For deploying the Tinlake contracts to mainnet or a testnet, view our deploy scripts in Tinlake Deploy.

Community

Join our public Slack channel: Centrifuge Slack.