-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parse string utils function #264
Comments
hi @Marchand-Nicolas kindly assign me this task i would like to make it my first contribution to the starknet quest api project |
Hi @petersdt! |
hello @dmirgaleev i am a frontend dev and blockchain developer |
Hi @vickiddev! |
hello @dmirgaleev i am a frontend dev and blockchain developer |
Hi @martinvibes! |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI'm Poulav Bhowmick, a software engineer at Invisible Studios with a robust background in TypeScript, Rust, Solidity Cairo, fullstack development and blockchain technology. My experience includes building robust applications, optimizing functionalities and blockchain integration. I have actively participated in events and open source contributions, enhancing my capability to tackle real-world tech challenges. My projects can be viewed on my GitHub Profile and OnlyDust Profile. Plus I´m active member of Starknet, Ethereum ecosystem. How I plan on tackling this issueI will implement the parse_string utility function as follows: Define the Function: Convert FieldElement to Hex and Decimal: Replace Placeholders: Return the Result: ETA - 3 days |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedGM, I am Sagar Rana, a smart contract developer and full stack engineer. I have 3 years of experience building robust full stack applications and over a year of writing smart contracts. You can see my projects and contributions to some major repos on my GitHub profile. The tech stack I use mainly includes Solidity, Rust, JavaScript and Typescript. I am also contributing to the Starknet and Rust ecosystems and building on Cairo and Rust languages. I am interested in contributing to projects like this to learn more about these technologies and help make these projects better. Please assign me as I would be really glad to be a contributor in this project! :) How I plan on tackling this issueHi @Marchand-Nicolas, I would approach this issue like this:
Tasks:
ETA: 1 Day |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI have experience in Rust programming, particularly in developing utilities and functions for smart contracts. My background in implementing modular code can help streamline tasks like creating dynamic string parsing functions, enhancing the flexibility and functionality of the codebase. How I plan on tackling this issueCreate parse_string function. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedHi ! I'm a fullstack developer with 4 years of experience, living in france. I recently developed a strong interest in web3 and especially in starknet ecosystem. I would love to leverage my knowledge with contributions to your exciting project ! How I plan on tackling this issueTo implement the parse_string function in utils.rs, I would create a utility that takes a string and a FieldElement address as inputs, replacing placeholders {addr_hex} and {addr_dec} in the string with the address's hexadecimal and decimal representations, respectively. Using Rust's string manipulation methods, I would replace these placeholders and ensure proper error handling and input validation. The function would be thoroughly tested to handle various input scenarios, ensuring robust performance and correctness. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI am a passionate and results-driven web developer, currently deepening my knowledge in web3 technologies, Cairo, and open-source development through Dojo Coding. My skill set includes expertise in JavaScript, React, HTML, CSS, and C# with .NET Entity Framework, among others. I also have experience with tools like Git, GitHub, SQL Server, and Postman. My focus has been on building solid web applications, from task lists to full-fledged CRUD systems, with front-end, back-end, and database integration. I have already made a contribution to Starknet Quest, and I am eager to take on more opportunities How I plan on tackling this issueTo implement parse_string in src/utils.rs, I would define the function with a string and a FieldElement as parameters. I would use functions like to_hex to convert the address to both hexadecimal and decimal formats. Then, I would apply string manipulation methods to replace occurrences of {addr_hex} and {addr_dec} with their respective representations. Finally, I would return the modified string. |
@Marchand-Nicolas Thank you for the incredible opportunity to collaborate on this amazing project! |
Parse string utils function #264
Done here: #271 |
Description
src\utils.rs
) calledparse_string
that takes as an argument: a string, and an address (FieldElement). It should replace any occurrence in the specified string of:{addr_hex}
by the given address (in hex format), and{addr_dec)
by the given address (in decimal format).→ There are utils functions to work with FieldElements, e.g.
to_hex
insrc\utils.rs
The text was updated successfully, but these errors were encountered: