olifanton / ton Goto Github PK
View Code? Open in Web Editor NEWPHP SDK library for The Open Network blockchain
License: MIT License
PHP SDK library for The Open Network blockchain
License: MIT License
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)
Currently token contract classes support only off-chain metadata.
It is necessary to implement support (parsing) of metadata that are stored in the contract data (on-chain).
Additional links:
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
Can you provide an example of a USDT transfer?
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.
Currently, the documentation for the main ton
component is not very easy to learn.
We need to:
docs/
directory;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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.