Skip to content

feat: new faq topics #56

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 30 additions & 3 deletions docs/faq/integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ sidebar_label: Integration

# Venom Blockchain FAQ: Integration with Venom Blockchain

<details>
<summary>
Do you have something like MetaMask for Venom Blockchain?
</summary>

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).

</details>

<details>
<summary>
How to connect Venom Wallet to my dApp?
Expand All @@ -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).
</details>

<details>
Expand All @@ -26,6 +35,15 @@ So, in this case, you can use the library that venom-connect has been built on [

</details>

<details>
<summary>
How can I connect to a Venom node using Web3.js?
</summary>

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.

</details>

<details>
<summary>
I need to call a smart contract method before the user connects the wallet. How can I do it?
Expand All @@ -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.

</details>
</details>

<details>
<summary>
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?
</summary>

Yes. You can use [Evercloud](https://www.evercloud.dev/). Evercloud supports Venom Network. Check its [documentation](https://docs.evercloud.dev/).

</details>
18 changes: 18 additions & 0 deletions docs/faq/programming.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,24 @@ Check out [this](../build/quick-start-on-testnet.md) article. We have an awesome

</details>

<details>
<summary>
I used to use the Hardhat of the truffle suite for developing smart contracts. Can I use it for Venom Blockchain?
</summary>

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!

</details>

<details>
<summary>
What about the local node? Do you have something like Ganache (truffle suite) for launching a local node?
</summary>

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).

</details>

<details>
<summary>
Does Venom Blockchain have some improvement proposals or some standards for example of fungible/non-fungible tokens?
Expand Down