Discovery start error

HI, when I ran discovery start ,it shows

wystanwei@deepin:~/File/Code/Rust/millionaires_problem_demo$ discovery start
(node:1406) UnhandledPromiseRejectionWarning: #<Object>
(node:1406) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:1406) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

my node version is 10
my system is deepin 15.11

1 Like

Hi @WystanW – what are you trying to do? Just as an FYI, Discovery was an early release and is now deprecated. We’ve modified the architecture since, and are also building a series of new tutorials that will work with the current version of the network.

Depending on your goals, it still may make sense to use Discovery for now, but we can provide better guidance if you give us some context.

1 Like

Hi!I followed with this: Getting Started with Enigma: An Intro to Secret Contracts

https://blog.enigma.co/getting-started-with-enigma-an-intro-to-secret-contracts-cdba4fe501c2

I’m interested in MPC and want to see how to run a secret contract on Ethereum.

If there is a new version, is there any documentation to build a testnet? I also found this but it’s hard to build. I just want to find an example to build a DApp

https://enigma.co/discovery-documentation/

1 Like

Hi @WystanW, thanks for your questions! Apologies for any confusion. In February of this year, our community of validators launched an independent blockchain using the Cosmos SDK, and Enigma’s core dev team is not actively maintaining the Discovery network. We are in the process of integrating secret contract functionality and updating technical resources. This blog post might be helpful:

As we continue building toward CosmWasm in SGX with encryption, we’re looking for developers to help us make it as easy as possible to deploy smart contracts on the Enigma Blockchain. This guide does not include secret contracts; however, it should be straightforward to modify existing contracts to use our privacy features in the future. Please let us know your feedback on this new documentation:

Thanks for replying!
I’m interested in the system itself and I found it amazing.
The problem is solved now.

2 Likes