-
Notifications
You must be signed in to change notification settings - Fork 106
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
Get devopment frameworks like Truffle to work with Nimbus #103
Comments
This is the list of RPC procs most crucial for Embark:
|
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now that we have a nearly feature-complete EVM implementation, our next goal is to start executing increasingly more complex code. It should be possible to use Nimbus with some of the existing ethereum development tools and frameworks in order to test and execute arbitrary smart contract code.
As an example of a very popular development framework, see Truffle:
https://medium.com/coinmonks/test-a-smart-contract-with-truffle-3eb8e1929370
Such tools usually interact with a locally running empty development chain. The work-flow is the following:
Smart contract code is written and compiled to a local file (this is taken care by the framework)
The contract is published to a locally running blockchain. Truffle uses JSON-RPC to talk to a locally running Ethereum client. By default, Truffle prefers to use its own Ethereum implementation (see
truffle develop
, but it should be possible to pair it with a local copy of Nimbus started with an empty custom chain. See this guide for pairing Truffle with Geth as an example).Transactions are created which execute methods of the contract. Again, this is done over JSON-RPC.
To support this work-flow, Nimbus will have to be enhanced with specific configuration options and the ability to work with multiple blockchains stored on disk. All required JSON-RPC calls employed by the development framework will have to be implemented. This issue is considered an "Epic", it should be broken down in smaller tasks once they are identified.
The text was updated successfully, but these errors were encountered: