Workers Auto Approve
[typescript] Convert ABIs to TypeScript
MARKET.js, MARKETProtocol, TypeScript, 0x, Solidity, web3
### User Story
[comment]: # (As a , I want to so that .)
As a developer, I need access to the ABIs using TypeScript so that my code will meet the project's standards.
### Why Is this Needed?
[comment]: # (Describe the problem and why this task is needed. Provide a description of the current state, what you would like to happen, and what actually happen)
*Summary*: The current json ABIs need to be converted to TypeScript.
[comment]: # (Feature or Bug? i.e Type: Bug)
### Current Behavior
[comment]: # (Describe what actually happened.)
No TypeScript ABIs.
### Expected Behavior
[comment]: # (Describe what you expected to happen.)
ABIs available in TypeScript.
[comment]: # (Provide a summary of the solution and a task list on what needs to be fixed.)
*Summary*: Using the `market-solidity` npm package, convert the json ABIs to TypeScript. The package is installed as a dev dependency. The json contracts are located at `node_modules/market-solidity/build/contracts`.
Try using 0x's ABI generator, https://github.com/0xProject/0x-monorepo/tree/development/packages/abi-gen. Additional details are listed here, https://blog.0xproject.com/abi-to-typescript-generator-b0fb5cae9e29.
If possible, use the standard templates, https://github.com/0xProject/0x-monorepo/tree/v2-prototype/packages/contract_templates. If not, modify/create templates for the ABIs.
Use the `types repo` and store the templates in the `templates` directory and type definitions in the `types` directory at the root level.
### Definition of Done
[comment]: # (Any other information that would be useful, bullets are helpful.)
- Convert json ABIs in the `node_modules/market-solidity/build/contracts` to their TypeScript equivalents.
- Store the resulting TypeScript ABIs in the`types` directory in the `types` repo.
- Create or modify the templates as needed.
- Store the resulting templates in the `templates` directory in the `types` repo...even if the templates are unchanged from the 0x project.
- Test and verify the type definitions.
- Modify package.json to generate type definitions.
Setup your profile
Tell us a little about you:
No results found for
Type to search skills..
Required [[totalcharacter]] / 240
Are you currently looking for work?
[[ option.string ]]
Setup your profile
Our tools are based on the principles of earn (💰), learn (📖), and meet (💬).
Select the ones you are interested in. You can change it later in your settings.
I'm also an organization manager looking for a great community.
Enable your organization profile
Gitcoin products can help grow community around your brand. Create your tribe, events, and incentivize your community with bounties. Announce new and upcoming events using townsquare. Find top-quality hackers and fund them to work with you on a grant.
These are the organizations you own. If you don't see your organization here please be sure that information is public on your GitHub profile. Gitcoin will sync this information for you.
Select the products you are interested in:
Out of the box you will receive Tribes Lite for your organization. Please provide us with a contact email: