简体   繁体   English

使用emba部署在流星应用程序服务器端的合同?

[英]using contracts deployed by embark on the server side of a meteor app?

I have created my example by embark meteor_demo and then changed my configuration on embark.yml to output the contract on the server folder instead of the client. 我已经通过embark meteor_demo创建了示例,然后更改了embark.yml的配置以在服务器文件夹而不是客户端上输出合同。

From that point i started getting some errors, which i described here: https://github.com/iurimatias/embark-framework/issues/138 从那时起,我开始遇到一些错误,在这里进行了描述: https : //github.com/iurimatias/embark-framework/issues/138

Basically web3 wasn't defined on the server and after i add the web3 package from atmosphere it still undefined. 基本上没有在服务器上定义web3,并且在从大气中添加web3程序包后,它仍未定义。

Any recommendation on next steps? 对下一步有什么建议吗? Should i use the web3 project from npm and include it manually on the server? 我应该使用npm中的web3项目并将其手动包含在服务器上吗?

End up adding the same question on https://ethereum.stackexchange.com/questions/791/using-contracts-deployed-by-embark-on-the-server-side-of-a-meteor-app sorry for the duplicate. 最终在https://ethereum.stackexchange.com/questions/791/using-contracts-deployed-by-embark-on-the-server-side-of-a-meteor-app上添加了相同的问题。

not sure if this thread should be deleted or kept here. 不知道该线程是否应该删除或保留在这里。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM