Cycan Network partners with Patract Labs and announces to join Patract Open Platform

Recently, Cycan Network partners with Patract Labs and officially announces to join Patract Open Platform, to jointly promote the construction of public infrastructure and contract technology evolution to develop the Wasm contract ecosystem.

Now Cycan has achieved certain results in the deployment of Wasm contracts. Among them, Cycan’s ELC project is developed based on the ink! framework of Polkadot ecosystem, a decentralized algorithmic stablecoin project composed of multiple contracts.

Quote from Cycan

PatraSwap

The core development contributor from Cycan, Leo said that the design needs to use an external swap function in the ELC contract. After analyzing and comparing the options, we found that the open source project store-contracts developed by Patract Labs, PatraSwap uses the full ink! source code, and the compiled code also fit the specification, so we introduced PatraSwap as an external component. The interface of PatraSwap was used smoothly during the compilation process without any obstacles. When we deployed, we deployed the two Wasm codes that used the PatraSwap contract to the chain, recorded the deployment address and configured it to the ELC contract. It’s surprising that it can be used smoothly.

The application of PatraSwap timely solved the urgent needs of our ELC development team and guaranteed our development progress. View the source code.

Redspot

The ELC contract uses the ink! language. In the initial compilation of a single contract, we directly use the cargo command line to directly compile it. Later, we installed the Redspot tool developed by Patract and found that multiple contracts can be compiled with one Redspot command, reducing a lot of manual operations and improving the efficiency of development.

In addition, we all know that it is troublesome for multiple contracts to call each other. First, the deployment of contracts is sequential, but the caller needs to know the contract address, and then manually deploy the contracts one by one. And we may need to add interfaces to the source code to deploy complex systems. Redspot supports contract parameterized script deployment, which completely solves these problems. The contract address is recorded and passed in the script, so no matter how complex a multi-contract system is, it can be deployed successfully at one time.

Redspot also supports complete test functions, including test input and execution, support for passing judgment on output results, and complete test item statistics and analysis tables. The testing of smart contracts has always been far more difficult than normal software. Therefore, Redspot’s test scripts immediately improved the testing of smart contracts to the level of general software testing, greatly improving the integrity and efficiency of testing. The only shortcoming is that Redspot’s official website provides fewer teaching examples, and the types and cases are not rich enough. In fact, many practical functions still lack using case explanations. Part of the very useful functions is that our team checked the source code of Redspot before we knew and used it. We hope that Patract can add more useful cases in the future, so that more developers can understand and use these functions.

In short, store-contracts from PatraStore and Redspot have supported the development of the ELC project, greatly promoted the development progress of the project, and made us very grateful. We hope that Patract Labs will continue to optimize these tools to provide a better and better development environment and tool support for Wasm smart contract developers. Sincerely thanks to the developers of Patract Labs.

Quote from Patract Labs

The founder of Patract Labs, Lipeng Yue said that Cycan has been doing a lot of business trials on Wasm contracts, and we are very pleased that the contract tools developed can help them. Cycan uses the ink! contract language supported by Redspot to develop the ELC project. As a multi-contract structure project, Cycan uses Redspot’s commands to compile, deploy, test and other processes, shielding the underlying compilation details. Developers do not need to study how to build multi-contract relationships, but only need to focus on their own business logic. This is the low barriers and strong compatibility that Patract has always hoped to build, so that more developers can get started quickly. In the future, we will continue to optimize our contract tool suite and provide more abundant examples to support Wasm contract developers.

About Cycan

Cycan, short for Cyber Canaan, is a bountiful land in the crypto world.

The Cycan network (CYN) is a cross-chain, decentralized asset management platform. It is a parachain based on the Polkadot network. Its canary chain, Everlasting parachain (ELP), is a parachain based on Kusama. Its mission is to become a leading decentralized asset management platform based on WASM. The protocol allows everyone to initiate, manage and invest in decentralized funds on the chain freely, safely and efficiently.

Cycan has also developed a stablecoin with anti-inflation characteristics that adopts “reserve + algorithm” duality, namely Everlasting Cash (ELC). In the future, Cycan will cooperate with other parachains to quickly achieve DeFi “Lego” collaboration through the XCMP protocol. Cycan will also use heterogeneous cross-chain bridges to achieve cross-chain decentralized crypto asset management services with blockchain networks including ETH, BSC, and SOL.

WebsiteGitHubTwitter Telegram

About Patract Labs

Patract Labs is providing solutions for the development of Parachains and DApps in the Wasm smart contract ecosystem of Polkadot. We help the community to design and develop on-chain contract modules and Runtime support, and provide DApp developers with full-stack tools and services support, covering development, testing, debugging, deployment, monitoring, data provider and front-end development stages.

WebsiteElementTwitterGitHubDiscordTelegram

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store