tinlake
tinlake copied to clipboard
Smart contracts for Tinlake, the on-chain securitization protocol for real-world assets
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.7.6
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 Discord: Centrifuge Discord.