Skip to main content

Citadel.one integration of Polkadot

  • Proposer (GitHub account): citadeldao
  • Payment Address: 0x0834bBD1c425C4610e4b1Dc1145636c9E3B64dE0 (USDC ERC20)

Project Overview📄​

Overview​

Please provide the following:

A brief description of the project.

Citadel.one is a non-custodial Proof-of-Stake platform for the management and storage of crypto assets. Users can create public addresses for all supported networks with one seed phrase, connect their Ledger or Trezor device, or import an address generated by another wallet. The analytical dashboard provides relevant information on wallets' balances and networks' main metrics. One of the main functions of the Citadel.one platform is participation in the PoS consensus — users can stake and delegate their assets, claim rewards, and follow the latest network proposals in the voting tab.

An indication of how you will integrate this project into Substrate / Polkadot / Kusama.

  1. Citadel will provide users with a seamless Polkadot experience - send, stake, claim rewards, exchange DOT tokens via web/mobile as well as with hardware wallets. Among the major features Citadel gives access to extended analytics for the network, transactions, and users' portfolio - we classify transactions, build relevant charts for rewards and balance.
  2. On a basis of our product, other applications for Polkadot could be created as soon as we will publicly share the Polkadot blockchain transaction parser to the PostgreSQL database. At this point, any dev team will be able to build analytical dashboards using standardized SQL-requests.
  3. We will also share our API interface for interactions with Polkadot node through which other apps will be able to integrate Polkadot transactions and staking.
  4. With Citadel, users can claim rewards directly in the app. Additionally, notifications and mailing will be set highlighting rewards for claiming so that the user won't miss any of his rewards which is especially important as the rewards have their expiration date. Apart from that, an API method for rewards claiming will be provided for public access.

An indication of why your team is interested in creating this project.

Citadel team believes Polkadot is unique by design. Very soon after the launch, the project entered the Top-5 by lockedinstaking,joiningmajorPoSindustryleaderslikeTezosandEOS.Now,accordingto[StakingRewards](https://www.stakingrewards.com/global−charts),Polkadotisanabsoluteleaderwithapproximatelylocked in staking, joining major PoS industry leaders like Tezos and EOS. Now, according to [Staking Rewards](https://www.stakingrewards.com/global-charts), Polkadot is an absolute leader with approximately3 billion value participating in staking. Our mission is to bring the easiest user-experience to Polkadot holders which can consequently boost the growth of staking ratio, community and ecosystem.

Project Details

  • Mockups/designs of any UI components

Mobile version mockups

As the integration of Polkadot with a complicated flow and unexpected issues took us much longer than we’ve expected, we would love to apply a new timeline to the product delivery. Over this period, we were working on the major interface update and now we are happy to present you with Citadel.one v.2!

  • API specifications of the core functionality

Below you can find the link to our API documentation. Not only we plan to integrate Polkadot into Citadel, but also upon the integration completion, we will share the open API for the development associated with DOT coins, including transfers, staking, transaction types, etc.

https://work.3ahtim54r.ru/api/doc/

  • An overview of the technology stack to be used

Web:

  • Vue.js
  • Node.js
  • Express
  • PM2
  • Postgres
  • Socket.IO

Mobile:

  • Flutter Ios/Android
  • Trustwallet/walletcore

PoC/MVP or other relevant prior work or research on the topic

The working product is accessible via the link - citadel.one

Ecosystem Fit​

Are there any other projects similar to yours? If so, how is your project different?

The most similar to what we are building at Citadel is Lunie. However, some features and platforms' details are different - it provides DOT holders with an opportunity to choose what's best for them.

To begin with, as multi-asset platforms, Citadel and Lunie support different networks. Thus, depending on the user's portfolio,one of the platforms will be more preferable, than the other. For example, if a user holds DOT and XTZ, Citadel will become a good all-in-one solution; in the same manner, if a user possesses DOT and AKT, it may be easier for him to use Lunie. In addition, Citadel supports Bitcoin, Ethereum, and Tether for the comfort of our users.

Furthermore, we integrated the fiat gateway and instant cryptocurrency exchange so that users can effortlessly buy tokens right in the app. Also, Citadel users have access to their transaction history details and a full analytical dashboard that allows them to track all the assets across multiple networks with a proper reward calculation. Lunie and Citadel have absolutely different interfaces, so users are free to choose the most suitable solution based on their specific needs. Below, you can find a quick comparison table.

CitadelLunie
Networks available for stakingCosmos, Polkadot (coming soon), Tezos, IOST, ICON, OrbsCosmos, Akash Network, e-Money, Polkadot, Kusama, KAVA, Terra
Other supported networksBitcoin, Ethereum, Tether-
StakingYesYes
Proposals explorerYesYes
Fiat gatewayYesNo
Built-in exchangeYesNo
Transaction historyYesComing soon
Overall analytical dashboardYesNo
Price feed informationYesNo
Mobile appComing soonYes

Team👥​

Team members​

Dev team members

  • Gregory Shabalov - co-founder, CTO
  • Pavel Khivintsev - Lead Backend Developer
  • Petr Lapin - Lead Frontend Developer
  • Iurii Dorofeev - Lead Mobile Developer
  • Nikita Pashkov - DevOps Engineer
  • Yeskendir Sarinov - Backend Developer
  • Grigori Sargsyan - Frontend Developer
  • Sofia Peremotina - QA Engineer

Other team members

  • Alex Falko - co-founder, CFO
  • Anton Pavlutsky - co-founder, CEO
  • Dmitrii Shehovtsov - Head of Research
  • Rina Spasenkova - CMO
  • Vlad Gorlov - Community Lead
  • Margo Omelchenko - Lead Designer

Team Website​

https://citadel.one/

Citadel.One PTE LTD

068914, SBF CENTER, SINGAPORE, 160 ROBINSON ROAD

Team's experience​

Citadel.One team is extensive not only by quantity but also by quality. Our team consists of specialists that are apt to cover all the tech needs – from DevOps and node administration to backend & frontend handling. What's more, with the significant business, and finance knowledge of Alex Falko, vast project & product experience of Anton Pavlutsky, and the all-encompassing hard skills of Gregory Shabalov, the Citadel team is competent in supporting sustainable growth and development.

As for the team's interesting cases, we shall begin with our co-founders' experience. Feel free to check out interviews with Anton and with Gregory, where they cover all of their relevant career experience. Furthermore, our dev team did hard yet interesting work with standardizing the tech stuff for all integrated networks: they coped to parse Tezos, ICON, IOST, Ethereum, Cosmos and bring them to the unified database storage standard so that the analytics can be provided in the quickest and the most convenient way.

Our Lead Backend Developer, Pavel, was apt to unload transactions in the shortest possible time by restructuring the parsing and data saving process using the streaming method. He also found a way to optimize the logic of wallet generation for different networks in order to reduce the number of libraries used and get a much faster website experience for users. Now Pavel is working on an extremely interesting instance associated with decoding the encoded Ontology byte data into a readable form.

Team Code Repos

From our side, we are ready to make the part associated specifically with Polkadot fully open-source. Accesses will be given to the Polkadot team directly upon request.

Team LinkedIn/GitHub Profiles​

Milestone 1​

NumberDeliverableSpecification
0a.LicenseApache 2.0
0b.DocumentationThe described requirements fully cover the use cases and user interaction with the system. 1. Create and import an address 2. Integration of staking 3. Integration of transfers 4. Price and market performance information 5. Integration of transaction
0c.Testing GuideEach epic describes testing opportunities. 1. Create and import an address 2. Integration of staking 3. Integration of transfers 4. Price and market performance information 5. Integration of transaction
0d.DockerPolkadot Network is integrated into Citadel.one - https://app.citadel.one/
0e.ArticlePress release will be prepared a few weeks before the official rollout of the network. https://medium.com/citadel-one/polkadot-overview-f7c4f06208ec
NumberStepSpecificationDetailed descriptionTeam members involved
1Node launch (not included in grant amount requirements)Citadel will join the Polkadot ecosystem as a validatorThe Polkadot node will be deployed with the setting of specific glitch recognition notifications (for instance, in case the validator node suspended block production, or server memory faced some issues) via Zabbix and Grafana. As a result of this stage, we expect the node to be up and running with the maintenance system and RPC interface for node access. After the successful node launch, the necessary support and updates will be provided for a longer period.Nikita (system administrator)120h per year
2Design (not included in grant amount requirements)Interface preparation, design elements specifications, and tuningAs a result of this stage, the mockups for web and mobile UI will be ready on Figma.Margarita Omelchenko (Lead Designer)40h
3Preparation set 1Polkadot blockchain scrutiny, data transfer to PostgreSQL (for data aggregation and statistics building)This stage mainly involves the examination of Polkadot blockchain, parser building for the data transfers to PostgreSQL database (it will allow us to aggregate data conveniently, receive transactions of a certain type on a specific address, etc.)This step will bring us some vital milestones: our database will contain all the transactions - new ones sourced directly from the blockchain will be also stored in our database that is convenient for the development needs (balance/rewards charts creation, etc.)Also, as a result we will possess the following connector methods: (isSystemAddress, validateAddress, getLastBlock, getNextBlock, getOneBlock, filterOperations, getDelegationBalanceInfo).Yeskendir (Backend Developer), Pavel (Lead Backend Developer)120h
4Preparation set 2Examination of Polkadot transfer methods and staking systemThis step entails the connector methods: prepareTransfer, prepareDelegation, sendTransaction).Yeskendir (Backend Developer), Pavel (Lead Backend Developer)30h
5Transfers integrationAnalysis of a network's transfer transaction; search for necessary libraries or APIs;determination of transaction preparation logic; writing logic; signing; writing the send logicUpon the successful completion of this step, we will have transactions integrated into web and mobile versions, as well as Backend API methods for the execution of transfers' transactions.Pavel (Lead Backend Developer), Petr (Lead Frontend Developer), Yeskendir (Backend Developer), Alexander (Frontend Developer), Andrey (Mobile Developer)80 h
6Integration of stakingAnalysis of network's staking transaction, search for necessary libraries or APIs;determination of transaction preparation logic; writing logic; signing; writing the send logic. Polkadot validator list parsing.By the end of this step, we will have staking integrated into web and mobile versions, as well as Backend API methods for the execution of staking transactions via our node. Trezor and Ledger integration for Polkadot.Pavel (Lead Backend Developer), Petr (Lead Frontend Developer), Yeskendir (Backend Developer), Alexander (Frontend Developer), Andrey (Mobile Developer)80h
7Transaction and price feed metrics addingFinding a suitable price feed solution. Information collection from node's RPC via API or source libraries.At this stage, we are preparing the relevant data for charts and the network's significant metrics.Yeskendir (Backend Developer)20h
8Mobile integrationDevelopment of mobile app for interaction with Polkadot wallets using Web APIFor mobile app development (Android & iOS) we will use Flutter SDK. Polkadot wallets will be integrated with C++ trustwallet/wallet-core library. Furthermore, during this step we will work on screen layouts (with previously prepared design) and adaptation for different display resolutions.Andrey (Mobile Developer)120h
9Testing and debuggingPerforming different types of testing. Verification of the main scenarios such as sending tokens, and staking in the various environments including Ledger and Trezor wallets.During this step, we proceed with testing, bug listing on Jira, test-cases writing. As a result, we will have a fully working product with all the crucial bugs fixed.Alexander (QA Engineer), Aleksey (QA Engineer)40h

Overview​

  • Total Estimated Duration: Duration of the whole project
  • Full-time equivalent (FTE): Workload of an employed person (see) - 3,0625

  • Total Costs: $22200

The planned delivery dates are Q1’2022 (approximately May). We are still sticking to the previous financial requests we mentioned in the very beginning.

Future Plans​

At Citadel, we focus on providing our users with seamless crypto experience. Thus, we will continue to improve our platform, add new features and promote already integrated ones. In the coming period we are planning to become a staking derivatives gateway.

Additional Information➕​

Any additional information that you think is relevant to this application that hasn't already been included.

  • What work has been done so far?

We have an already-working product, meaning that the platform has successful integration use-cases and is ready to provide full support for Polkadot. Additionally, we are looking forward to putting our marketing efforts in order to spread a word on Polkadot.

  • Are there are any teams who have already contributed (financially) to the project?

No

  • Have you applied for other grants so far?

No