Code Monkey home page Code Monkey logo

ton's People

Contributors

github-actions[bot] avatar romanzaycev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ton's Issues

Ability to use Deployer with a fresh wallet

examples/deployer/deploy-wallet.php

(debug) External message construction for deploy Olifanton\Ton\Contracts\Wallets\V4\WalletV4R2

Fatal error: Uncaught TypeError: Olifanton\Ton\Deployer::createExternal(): Argument #3 ($seqno) must be of type int, null given, called in /ton/src/Olifanton/Ton/Deployer.php on line 53 and defined in /ton/src/Olifanton/Ton/Deployer.php:155
Stack trace:
#0 /ton/src/Olifanton/Ton/Deployer.php(53): Olifanton\Ton\Deployer->createExternal(Object(Olifanton\Ton\DeployOptions), Object(Olifanton\Ton\Contracts\Wallets\V4\WalletV4R2), NULL)
#1 /ton/examples/deployer/deploy-wallet.php(43): Olifanton\Ton\Deployer->deploy(Object(Olifanton\Ton\DeployOptions), Object(Olifanton\Ton\Contracts\Wallets\V4\WalletV4R2))
#2 {main}
  thrown in /ton/src/Olifanton/Ton/Deployer.php on line 155

Originally posted by @krigga in #1 (comment)

"Deploy custom contract" example fails

When running examples/deployer/deploy-custom-contract.php

Fatal error: Uncaught Error: Unknown named parameter $publicKey in /ton/examples/deployer/deploy-custom-contract.php:27
Stack trace:
#0 {main}
  thrown in /ton/examples/deployer/deploy-custom-contract.php on line 27

v4 not working on mobile integration

We have integrated the TON Keeper application with PHP via Telegram Web App, but the smart contract method does not work in the payment step and a payment request cannot be sent to TON Keeper.

Rework documentation

Currently, the documentation for the main ton component is not very easy to learn.

We need to:

  • move Markdown files of documentation to a separate docs/ directory;
  • separate the description of each class into a separate Markdown file;
  • make a link to the documentation section from the root README.

Cannot use examples with an uninitialized (but funded) wallet

When trying to run examples (i.e. examples/wallets/send-transaction.php) with a freshly created wallet that has funds but is not yet initialized, the examples fail with something like:

Fatal error: Uncaught Olifanton\Ton\Contracts\Wallets\Exceptions\WalletException: Seqno is required in /ton/src/Olifanton/Ton/Contracts/Wallets/AbstractWallet.php:85
Stack trace:
#0 /ton/examples/wallets/send-transaction.php(40): Olifanton\Ton\Contracts\Wallets\AbstractWallet->createTransferMessage(Array, Object(Olifanton\Ton\Contracts\Wallets\TransferOptions))
#1 {main}
  thrown in /ton/src/Olifanton/Ton/Contracts/Wallets/AbstractWallet.php on line 85

because get methods cannot be run on uninitialized accounts.

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.