From 83fe9b534e2df7fd92d7ec83a90cbd150abb5a7b Mon Sep 17 00:00:00 2001 From: R Date: Wed, 8 Mar 2023 17:39:46 +0400 Subject: [PATCH] feat: new faq topics --- docs/faq/integration.md | 33 ++++++++++++++++++++++++++++++--- docs/faq/programming.md | 18 ++++++++++++++++++ 2 files changed, 48 insertions(+), 3 deletions(-) diff --git a/docs/faq/integration.md b/docs/faq/integration.md index 45bef52ea..f56f443ad 100644 --- a/docs/faq/integration.md +++ b/docs/faq/integration.md @@ -5,6 +5,15 @@ sidebar_label: Integration # Venom Blockchain FAQ: Integration with Venom Blockchain +
+ +Do you have something like MetaMask for Venom Blockchain? + + +Of course! We have Venom Wallet. It is a browser extension and a mobile app. You can check it out [here](https://venom.foundation/wallet). + +
+
How to connect Venom Wallet to my dApp? @@ -14,7 +23,7 @@ The easiest way to connect your dApp to Venom Wallet is to use [Venom Connect](h Check out [this](../build/development-guides/how-to-create-your-own-fungible-tip-3-token/venom-in-action/extend-our-tokensale-with-frontend.md#connecting-venom-wallet-to-your-app) paragraph of the frontend guide, that explains how to use venom-connect in your project. Moreover, you can check the final source code of this guide [here](https://github.com/venom-blockchain/guides/tree/master/tokensale-frontend). -You can read about all configuration options in venom-connect official [repository](https://github.com/web3sp/venom-connect). Also, it has an [example](https://github.com/web3sp/venom-connect/tree/main/examples/react). +You can read about all configuration options in the venom-connect official [repository](https://github.com/web3sp/venom-connect). Also, it has an [example](https://github.com/web3sp/venom-connect/tree/main/examples/react).
@@ -26,6 +35,15 @@ So, in this case, you can use the library that venom-connect has been built on [
+
+ +How can I connect to a Venom node using Web3.js? + + +You can't use Web3.js with Venom Blockchain. But you can use [inpage-provider](https://github.com/broxus/everscale-inpage-provider). Combine it with [standalone-client](https://github.com/broxus/everscale-standalone-client) and you will get the same! Or just use [venom-connect](https://www.npmjs.com/package/venom-connect) which has already combined these libraries. + +
+
I need to call a smart contract method before the user connects the wallet. How can I do it? @@ -51,6 +69,15 @@ I need to have personal access to Venom's transaction history. How can I achieve You can achieve this with two modules. Both of them, in fact, is a light node of Venom Blockchain, but it has some extra interfaces for you to process incoming blocks and transaction. One of them is [ton-indexer](https://github.com/broxus/ton-indexer) and the other one is [ton-kafka-producer](https://github.com/broxus/ton-kafka-producer). The first one uses rocksdb as storage for blockchain data storage, as you can see, works with Apache Kafka. -The main idea is ton-indexer was written with Rust so you should use the Rust ecosystem for your project - use ton-indexer as a module of your Rust project to operate with incoming blockchain data, analyze it and store parts of data you need somewhere. When you are using ton-kafka-producer, you can use whatever you want to read Kafka's topics, which will be filled with blockchain data constantly, but of course, you need to have the Apache Kafka cluster. +The main idea is that ton-indexer was written with Rust so you should use the Rust ecosystem for your project - use ton-indexer as a module of your Rust project to operate with incoming blockchain data, analyze it and store parts of data you need somewhere. When you are using ton-kafka-producer, you can use whatever you want to read Kafka's topics, which will be filled with blockchain data constantly, but of course, you need to have the Apache Kafka cluster. -
\ No newline at end of file + + +
+ +I need to access historical data, but I don't have any computation power to host my own node. Can I solve this problem somehow? + + +Yes. You can use [Evercloud](https://www.evercloud.dev/). Evercloud supports Venom Network. Check its [documentation](https://docs.evercloud.dev/). + +
diff --git a/docs/faq/programming.md b/docs/faq/programming.md index de183f2bc..0a72be74e 100644 --- a/docs/faq/programming.md +++ b/docs/faq/programming.md @@ -25,6 +25,24 @@ Check out [this](../build/quick-start-on-testnet.md) article. We have an awesome +
+ +I used to use the Hardhat of the truffle suite for developing smart contracts. Can I use it for Venom Blockchain? + + +No, you can't. But we have a similar tool for Venom Blockchain named [locklift](https://www.npmjs.com/package/locklift). It is inspired by truffle and hardhat! + +
+ +
+ +What about the local node? Do you have something like Ganache (truffle suite) for launching a local node? + + +Venom local node is provided by the docker image. You can check it out [here](https://hub.docker.com/r/tonlabs/local-node). Also, have a look up [there](../build/development-guides/setting-up-the-venom-smart-contract-development-environment.md#run-the-local-node). + +
+
Does Venom Blockchain have some improvement proposals or some standards for example of fungible/non-fungible tokens?