Coder Social home page Coder Social logo

Comments (4)

justdmitry avatar justdmitry commented on June 30, 2024

What of https://github.com/ton-blockchain/ton/blob/master/tl/generate/scheme/tonlib_api.tl you want to use that doesn't require imported keys? It seems everything wants your keys to be imported...

from tonlib.net.

tanderbold avatar tanderbold commented on June 30, 2024

Hi there,
I think that is possible with wallet contracts (https://docs.ton.org/participate/wallets/contracts) example of implementation is here https://github.com/xssnick/tonutils-go/tree/master#Wallet

  1. Generate a seed without client calls with words from here (https://github.com/xssnick/tonutils-go/blob/master/ton/wallet/seed.go)
  2. Generate a private key from the seed
  3. Deploy a wallet contract on first time use

Wallets are deployed on blockchain and later we can operate with the private key without importing (like in this example https://github.com/xssnick/tonutils-go/blob/master/example/wallet/main.go)

from tonlib.net.

justdmitry avatar justdmitry commented on June 30, 2024

The big difference between tonlib.net and tonutils-go is that tonlib.net uses native c++ ton library (tonlib) to interact with blockchain servers, while tonutils-go communicates with servers directly (using sockets). So when using tonlib - only calls implemented by tonlib are possible. And all tonlib wallet interaction methods require imported key, so implementing crypto-operations in c# is useless because you can't use them with tonlib.

Of course I may be wrong and tonlib may have some methods that can interact with blockchain without importing keys, but docs are not too detailed and I need more info about such methods if they exist.

from tonlib.net.

tanderbold avatar tanderbold commented on June 30, 2024

Ok, thank you for your reply and have a nice day

from tonlib.net.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.