not approved
Basic smart contracts for SPO campaigns and events (1-click deployment and open-source)
Current Project Status
Unfunded
Amount
Received
₳0
Amount
Requested
₳54,120
Percentage
Received
0.00%
Solution

CENT provides smart contracts that can be set up without any smart contract development skills. We propose to extend this library with contracts that support staking with a defined stake pool

Problem

SPOs need easy to set up smart contracts to let funds in different SPO campaigns continue to be delegated to their stake pool without the need for being a smart contract developer

Feasibility
Value for money
Impact / Alignment

Team

1 member

Basic smart contracts for SPO campaigns and events (1-click deployment and open-source)

Please describe your proposed solution.

There are many different use cases where a SPO would want to have a smart contract. Even though most SPOs are rather technical they do not necessarily know how to develop smart contracts. CENT want to extend the existing open source repository “Basic Smart Contracts” (<https://github.com/cent-development/basic-smart-contracts>) to contain stake pool related smart contracts.

We envision SPO smart contracts that let SPO give delegators the opportunity to mint loyalty tokens, tickets to special SPO community events or for other reasons lock their delegated ADA in the SPO smart contract while still being staked to the stake pool and earn stake rewards during the campaign.

The smart contracts are developed to be easy to set up without any smart contract development skills and the contracts will be accompanied by an open source dapp that can be customized further or used as is, to interact with the SPO smart contracts.

How does your proposed solution address the challenge and what benefits will this bring to the Cardano ecosystem?

By adding SPO related contracts to our repository, this will make it easier for SPOs to run campaigns and other currently unseen types of events for all SPOs. These kinds of campaigns can only be run by SPOs that know how to develop smart contracts or is able to pay developers to create it for them. In addition, if the smart contracts are not specifically taking stake delegation into account, locked funds are not generating any delegation rewards and this can discourage SPOs from doing events and campaigns that require the use of smart contracts. Simply because they sorely need the delegation.

CENT wants to develop open source contracts that SPOs can reuse for free and with minimal efforts.

How do you intend to measure the success of your project?

The repository is on Github and provides reports for the number of clones and branches made from the repository code.

Short term we will see SPOs making use of the smart contracts as is, but long term we will see completely new branches of the repository that contains events, campaigns and use cases currently not seen in the Cardano SPO community.

We will monitor the number of clones and branches of the repository to see which parts are the most used components and which are mostly used as templates for new contracts / dapps.

Please describe your plans to share the outputs and results of your project?

All the developed smart contracts and dapp templates will be shared with the SPO community in the basic-smart-contracts GitHub repository (<https://github.com/cent-development/basic-smart-contracts>).

All parts of this project delivery will be open source and free to use for all SPOs.

What is your capability to deliver your project with high levels of trust and accountability?

CENT is a long time developer in the Cardano community. After 20 years of experience as software developer, consultant and project manager, CENT has developed tools and technology on the Cardano blockchain since 2020.

Most relevant for this proposal, the already existing basic smart contracts repository (https://github.com/cent-development/basic-smart-contracts) contains similar functionality to what is proposed to create in this proposal. CENT is also developer of the funded proposal from Catalyst Fund 8 “NFT Swap pool infrastructure templates”, which is currently being finalized. The project contains a dapp and two configurable smart contracts to allow NFT artists to arrange NFT swap pools where NFT collectors can swap a NFT for another NFT from the same collection. The swap is managed by a smart contract. The project code can be reviewed at <https://github.com/NFT-Guild/NFT-Swap-Infrastructure-Templates> and in the following videos you can see demos of the swap pool dapp in action on the Cardano Pre-production testnet

CENT also participated in the Plutus Pioneer Program, 1st cohort in 2021 which is a popular smart contract course delivered by IOHK (IOG)

What are the main goals for the project and how will you validate if your approach is feasible?

The main goals for the project will be to deliver open source smart contracts relevant for SPOs and stake delegation and a template dapp which can be set up and run on a web server to allow SPO to let delegators interact with the smart contract relevant to the SPO event.

Please provide a detailed breakdown of your project’s milestones and each of the main tasks or activities to reach the milestone plus the expected timeline for the delivery.

Milestone 1 (Months 1 - 2)

First SPO related smart contract and accompanying dapp

Documentation for setting up contract and dapp for the specific SPO wallet and stake pool

Milestone 2 (Months 3 - 4)

Second SPO related smart contract and dapp changed to allow interaction with this as well

Documentation for setting up contract and dapp for the specific SPO wallet and stake pool

Milestone 3 (Months 5 - 6)

Third and final concept dapp with accompanying SPO smart contract

Documentation for setting up contract and dapp for the specific SPO wallet and stake pool

Please describe the deliverables, outputs and intended outcomes of each milestone.

We foresee the project to run for 6 months and be divided into 3 milestones. Deliverable from all milestones will be a smart contract and an accompanying dapp + relevant documentation to allow easy setup and use. When practical, the dapp will be modified to include the new smart contracts instead of being a completely new and separate dapp, but we will separate the dapp to fit the smart contract use case if this is the easiest and most usable for the SPOs.

To get an impression of a typical deliverable, you can review the material in the repositories <https://github.com/NFT-Guild/NFT-Swap-Infrastructure-Templates> and <https://github.com/cent-development/basic-smart-contracts>. As you can see in both of these repositories, the deliverable is a folder containing the smart contract resources and a folder containing the dapp resources. Also in the repositories you can see documentation and demonstration videos to guide the SPO when setting up the smart contracts and dapps.

Please provide a detailed budget breakdown of the proposed work and resources.

The project will not be run as a full-time endevour and each milestone is projected to last approximately 2 months. Cost approximations per milestone:

4000 ADA - Development for concept Dapp

6000 ADA - Smart contract development

4000 ADA - Written documentation and video demos

1200 ADA - Reporting Progress to Catalyst community

1200 ADA - Community engagement and feedback

1640 ADA - 10% buffer for unforeseen technical difficulties or need buy development tools / services

Total 18040 ADA per milestone deliverable

Who is in the project team and what are their roles?

The project will be developed in its entirety by CENT.

CENT is a long time developer in the Cardano community. After 20 years of experience as software developer, consultant and project manager, CENT has developed tools and technology on the Cardano blockchain since 2020.

Most relevant for this proposal, the already existing basic smart contracts repository (https://github.com/cent-development/basic-smart-contracts) contains similar functionality to what is proposed to create in this proposal. CENT is also developer of the funded proposal from Catalyst Fund 8 “NFT Swap pool infrastructure templates”, which is currently being finalized. The project contains a dapp and two configurable smart contracts to allow NFT artists to arrange NFT swap pools where NFT collectors can swap a NFT for another NFT from the same collection. The swap is managed by a smart contract. The project code can be reviewed at <https://github.com/NFT-Guild/NFT-Swap-Infrastructure-Templates> and in the following videos you can see demos of the swap pools in action on the Cardano Pre-production testnet

CENT also participated in the Plutus Pioneer Program, 1st cohort in 2021 which is a popular smart contract course delivered by IOHK (IOG)

How does the cost of the project represent value for money for the Cardano ecosystem?

This project is a great example of a low cost, high potential proposal which might spawn lots of exciting SPO events and campaigns not seen until now on the Cardano Blockchain. The developed resources can be used as is with small requirements to set up, and as this is open source, it can also be used by community developers as a starting point for even more SPO smart contract use cases

close

Playlist

  • EP2: epoch_length

    Authored by: Darlington Kofa

    3m 24s
    Darlington Kofa
  • EP1: 'd' parameter

    Authored by: Darlington Kofa

    4m 3s
    Darlington Kofa
  • EP3: key_deposit

    Authored by: Darlington Kofa

    3m 48s
    Darlington Kofa
  • EP4: epoch_no

    Authored by: Darlington Kofa

    2m 16s
    Darlington Kofa
  • EP5: max_block_size

    Authored by: Darlington Kofa

    3m 14s
    Darlington Kofa
  • EP6: pool_deposit

    Authored by: Darlington Kofa

    3m 19s
    Darlington Kofa
  • EP7: max_tx_size

    Authored by: Darlington Kofa

    4m 59s
    Darlington Kofa
0:00
/
~0:00