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.
Tinlake uses dapp.tools for development. Please install the dapp
client. Then, run the following command to install the dependencies:
dapp update
The tests for Tinlake are written in Solidity. To set up your environment, you should add these variables:
export DAPP_SOLC_VERSION=0.6.12
export DAPP_TEST_TIMESTAMP=1234567
dapp test
A regular expression can be used to only run specific tests.
dapp test -m <REGEX>
dapp test -m testName
dapp test -m ':ContractName\.'
For deploying the Tinlake contracts to mainnet or a testnet, view our deploy scripts in Tinlake Deploy.
Join our public Discord: Centrifuge Discord.