問題タブ [ipfs]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
146 参照

macos - Trouble Installing IPFS

I am using the instructions given on their site for MacOS- https://ipfs.io/docs/install/#installing-with-ipfs-update [tutorial][1]

To build demo, clone this repo and run the following command:

#xA;

Running the demo To run demo, first run testrpc by running:

#xA;

Then compile and deploy the solidity contracts:

#xA;

Run an instance of IPFS to enable uploads:

#xA;

Finally to build website, run:

#xA;

I reached this last step (npm run dev) and I got an error message saying "npm missing scripts dev"

I am in the contracts directory specified, and installed everything there properly I believe. However, I don't see any dev script in the json package(s) which I believe could be being referenced using the npm run dev command. May this be the problem?

Here are the files wihin the folder contracts-master

#xA;

Any help / suggestions / learning resources would be appreciated.

Thanks for your time,

Elias

0 投票する
1 に答える
160 参照

blockchain - IPFS は指定されたノードにのみ接続します

IPFS で指定されたノードに接続および切断できることがわかっています。つまり、

しかし、私が調べたいのは、私が指定した、またはある種の承認されたノードのみであることです。指定したノードのみとデータを共有したいからです。