KBryan / web3.dots

Another .Net implementation of the Ethereum RPC and Contract Interactions. Ethers styled syntax with NEthereum level functionality. Runs on .Net platforms. Designed for Unity DOTS ECS and GameFi
MIT License
2 stars 1 forks source link

Web3 Token Transfer for .NET #1

Open emin-karadag opened 1 year ago

emin-karadag commented 1 year ago

Hello, In my .NET Core project, I want to transfer a token from a wallet on any network to another wallet on the same network. I've been trying the "Nethereum" library but without much success.

I can send ETH on the Ethereum network and BNB on the Binance Smart Chain network. However, I could not send any Token from the relevant network through the contract address.

Does the "web3.dots" you have published provide this or can you help me with this?

Thank you in advance. :)

KBryan commented 1 year ago

For what you are describing you will need a bridge in order to accomplish this task. There is a great video by eat the blocks that shows you how to create one from scratch. I have posted a link to it below.

https://www.youtube.com/watch?v=LFoTlG-4TmU

emin-karadag commented 1 year ago

Hello, I guess I was misunderstood. I didn't mean to transfer between networks. I asked about the transfer of tokens in the same network. Thanks.

KBryan commented 1 year ago

Okay, so you want to transfer your own ERC20/721 or 1155 token utilizing the abi of the smart contract. If so, yes. You can accomplish that with Web3.DOTS.

emin-karadag commented 1 year ago

In fact, this is exactly what we want to do: We are a new organization. We are trying to make software similar to Capital. Project X will send "X token" to our central wallet. We will also distribute X Token to our members' wallets. We are investigating how we can do this with C# - .NET in the background. I was wondering if we could do this with web3.dot. Thanks