Giter Site home page Giter Site logo

typ3's People

Contributors

aitrean avatar mike-stupich avatar nicklewanowicz avatar skubakdj avatar

Watchers

 avatar

typ3's Issues

Clean up codebase

With all of the abstractions and typings in the repo, a production release will need to look tidier than what we currently have. This will include

  • Code commenting for all functions

  • Organized declaration files for all of the interfaces and typings

  • Reviewing the structure of our functions and whether our abstractions need to be reorganized.

Support RawTx Creation

Right now, the ConnectedContract's methods directly send a transaction with the unlocked account specified in the txObj. This implies we'd have to sign each account on the node we want to use.

Ideally, the ConnectedContract proxy should be able to infer whether to generate a rawTx or directly send a Tx by checking if the txObj has specified a "from" field. If from is not specified, return a raw sendTx object to be signed outside the scope of typ3 and passed through a node. If from is specified, call eth_sendTx directly (this is the functionality we currently support).

Add Event Handling

Implement event filtering as an abstraction of the contract's filter objects.

Dynamic Testing Around Sol Files

Right now, testing packages Solidity files with their bytecode and abis that are manually compiled outside of the test process. It would be useful to integrate solc and typ3-cli into the automated testing process, so that changes to the Solidity files would automatically reflect in their corresponding abis/bytecode.

Implement new solidity return types

Currently the ABI experimentally supports struct and dynamic array return types, along with view and pure constant type functions. These need to eventually be accounted for

Merge typ3 and typ3-cli

Ideally, typ3 and typ3-cli should come as one module which supports both the cli and the package behaviour of both. Should merge both repos into one module and publish to npm.

Remaining Productionization Tasks Checklist

List of tasks that need to be finished before typ3 supports the full set of contract, filter, and node functionality.

  • #2 Add event handling
  • #7 Support raw transaction creation for signing.
  • #9 Clean up codebase
  • #11 Function Overloading
  • #12 Fallback Support

Implement run-time validation of parameters

Implement better run-time validation of parameters in regards to supplied parameters. (Ex. Validate addresses, type QUANTITY / UNFORMATTED data according to Ethereum's ABI and JSON-RPC spec.

Expose mapping function for JSON-RPC methods

Expose a parameter to the user to do mapping of JSON-RPC methods before it is used for node. This would allow for custom JSON-RPC methods to be used and existing ones to be transformed via mapping function.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.