Typechain-Polkadot Follow-up
- Team Name: 727.ventures
- Payment Address: ERC 20 (DAI): 0x352F779203202c99699CdA8cc95adF06CcC8abEf
- Level: 3
Project Overview πβ
Overviewβ
Nowadays, when technologies are growing faster and faster, we should think about optimizing different routine processes and making older stuff better. One of these optimizations is to make code typesafe that will be flexible in different situations.
When a smart contract is being written, the front-end developer receives its file representation in the Application Binary Interface (ABI) format. One ABI per each contract, a new ABI for every contract update.
Information about how to interact with a contract (methods names, arguments & returns types, etc.) is included in this ABI file. It is not relatively human-readable, so extracting that information becomes a challenge. We need to have correct type definitions for each contract in TypeScript.
Interaction with blockchain is done with the polkadot.js library, which only has abstract definitions for the contract in use. Thus users' code cannot be typesafe. And Typechain-Polkadot can change it.
This Grant is a follow-up to the previous grant, Typechain-Polkadot.. We have decided to add a new tool that will help developers easily integrate typechain to their projects. It will also be compatible with Redspot (if redspot was used for compiler projects, you could just leave most of the things). We have some updates on our team, so check them out. And also, we did more work on Milestone 1 than we thought, so now it'll be easier to add new features to the project, so we considered to reestimate our time.
Usage of Typechain-compilerβ
npx typechain-compiler --config config.json
Also, you can set some additional arguments like --noCompile
, --noTypechain
, --release
Config interface will be something like this:
export interface Config {
projectFiles: string[]; // Path to all project files, everystring in glob format
skipLinting : boolean; // Skip linting of project files
artifactsPath : string; // Path to artifacts folder, where artifacts will be stored it will save both .contract and .json (contract ABI)
typechainGeneratedPath : string; // Path to typechain generated folder
}
Project Detailsβ
Typesafe contracts' descriptions can be generated automatically by a script, taking a list of ABIs as an input, giving usable TS type definitions and even runtime code as its output.
Given that a front-end developer needs to do this with every contract update, the such tool would save a lot of time and prevent mistakes of misusing smart contracts. It is installed as a package with built-in CLI.
When contract descriptions come both with ABI and source code (*.contract
files), our tool will provide means for deployment as well.
Ecosystem Fitβ
- Where and how does your project fit into the ecosystem?
There is a whole side to every project in the ecosystem - that is, the front-end side of contract integration - that will find a use for Typechain-Polkadot during the development process.
- Who is your target audience?
Our main target audience is front-end and smart-contract developers of Polkadot projects.
- What need(s) does your project meet?
Our project speeds up the front-end integration of Polkadot/Substrate/Kusama contracts. As well as brings type safety to developers' code when dealing with contracts. For smart contract developers, it simplifies integration test writing.
- Are there any other projects similar to yours in the Substrate / Polkadot / Kusama ecosystem?
No, we are the first project of the kind in the ecosystem. However, in the Solidity ecosystem, a similar project already exists, Typechain.
Team π₯β
Team membersβ
- Markian Ivanichok (Π‘EO of 727.ventures)
- Fedor Lebed (Head of Operations | 727.ventures)
- Green Baneling (Blockchain Core Rust Engineer | 727.ventures)
- Varex Silver (Blockchain developer | 727.ventures)
- Artem Lech (Blockchain developer | 727.ventures)
Contactβ
- Contact Name: Fedor Lebed
- Contact Email: fedor.lebed@727.ventures
- Website: 727.ventures
Legal Structureβ
- Registered Address: The registered office shall be in Coastal Building, Wickhamβs Cay II, P. O. Box 2221, Road Town, Tortola, VG1110, British Virgin Islands.
- Registered Legal Entity: Seven2seven Ventures Ltd
Team's experienceβ
Markian Ivanichok CEO of 727.ventures, Blockchain entrepreneur, Software Engineer. Started my engineering career back when I was 15. Since then, I developed and got a lot of experience in engineering and leadership. Gained entrepreneur experience by founding a couple of startups. Inspired, co-founded and invested in Sector F, one of the top consulting companies in Ukraine that helps entrepreneurs to move faster.
Fedor Lebed Fedor is the head of operations at Brushfam, a portfolio company of 727. ventures which is developing the ink! Smart contracts tools. Fedor invested in mining pools from 15 years old. He has a background in product management, working with international software products for Tier-1 markets.
Green Baneling Blockchain Core Developer Primary programming languages are: C++, Go, Rust
Finished the faculty of applied mathematics(Master's degree). Participated in programming competitions during education. Has worked as a programmer for around six years.
Was a freelancer the first year, creating an application for IOS(Swift), and creating modules for the desktop application on C++. After that, I spent two years in a company that created software for TV devices(C++/ Haxe). After which, for three years, working on different blockchain projects(C++/Go/Rust/Solidity/Js).
Varex Silver Blockchain Developer.
Student of Computer Science at the Kyiv National University of Taras Shevchenko. Participated in programming competitions of different stages in school since 2017 (C++). Was a Backend developer(Go), Solidity developer(Solidity, Hardhat, Typescript), and now Blockchain developer(Rust, Typescript).
Artem Lech Blockchain Developer.
Student of Applied Mathematics at the Kyiv National University of Taras Shevchenko. Started programming in 2016 and participated in a lot of Ukrainian and international competitions of competitive programming. Worked as a lecturer of algorithms at the school of competitive programming and as Intern Backend Engineer (Rust). Now works as Blockchain Developer on Polkadot Blockchain (Rust, Typescript).
Team Code Reposβ
Please also provide the GitHub accounts of all team members. If they contain no activity, references to projects hosted elsewhere or live are also fine.
Team LinkedIn Profiles (if available)β
- https://www.linkedin.com/in/mivanichok/
- https://www.linkedin.com/in/toma-sadova/
- https://www.linkedin.com/in/bogdan-ogorodniy/
- https://www.linkedin.com/in/artem-fomiuk-31249b226/
Development Status πβ
The project is already a work-in-progress.