gear-tech / gear-js Goto Github PK
View Code? Open in Web Editor NEWTools and applications for interacting with Gear node.
Home Page: http://gear-tech.io
License: GNU General Public License v3.0
Tools and applications for interacting with Gear node.
Home Page: http://gear-tech.io
License: GNU General Public License v3.0
The counter of the last block works only on the main page. If I go to another page it will break.
Probably it happens because of unsubscription
No response
No response
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
Warning
These dependencies are deprecated:
Datasource | Name | Replacement PR? |
---|---|---|
npm | @storybook/testing-library |
|
npm | @subsquid/archive-registry |
|
npm | @types/cron |
|
npm | rollup-plugin-terser |
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
@polkadot/api
, @polkadot/typegen
, @polkadot/types
, @polkadot/types-codec
, @typescript-eslint/parser
, eslint
, rollup
)@babel/plugin-transform-typescript
, @babel/preset-env
, @babel/preset-typescript
, @gear-js/api
, @polkadot/api
, @polkadot/types
, @subsquid/archive-registry
, @subsquid/graphql-server
, @subsquid/ss58
, @subsquid/substrate-metadata-explorer
, @subsquid/substrate-processor
, @subsquid/substrate-runtime
, @subsquid/substrate-typegen
, @subsquid/typeorm-codegen
, @subsquid/typeorm-migration
, @subsquid/typeorm-store
, @types/amqplib
, @types/cron
, @types/express
, @types/jest
, @types/node
, @types/nodemon
, amqplib
, cron
, dotenv
, eslint-config-prettier
, express
, hcaptcha
, jest
, nanoid
, node
, node-fetch
, nodemon
, pg
, prettier
, redis
, rxjs
, supertest
, ts-jest
, ts-node
, ts-node-dev
, tsconfig-paths
, typeorm
, typescript
, winston
)express
, @types/express
)@gear-js/api
, @polkadot/api
, @substrate/txwrapper-core
, @substrate/txwrapper-dev
, @types/node
, chalk
, inquirer
, ts-jest
, ts-node
, typescript
, winston
, yaml
, yarn
)node
, @types/node
)@polkadot/api
, @polkadot/api-derive
, @polkadot/types
, @polkadot/util
, @rollup/plugin-commonjs
, @rollup/plugin-node-resolve
, @rollup/plugin-typescript
, @storybook/addon-essentials
, @storybook/addon-interactions
, @storybook/addon-links
, @storybook/addon-onboarding
, @storybook/blocks
, @storybook/react
, @storybook/react-vite
, @substrate/connect
, @svgr/rollup
, @testing-library/jest-dom
, @testing-library/react
, @types/jest
, @typescript-eslint/eslint-plugin
, @typescript-eslint/parser
, clsx
, eslint
, rollup
, rollup-plugin-dts
, storybook
, vite
, vite-plugin-dts
, vite-plugin-svgr
)@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
, eslint
, husky
, yarn
)@polkadot/api
, chalk
, commander
, inquirer
, node-fetch
, yarn
)@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)@polkadot/api
, @polkadot/types
, @subsquid/substrate-runtime
, @subsquid/typeorm-codegen
, @types/jest
, @types/node
, @typescript-eslint/eslint-plugin
, @typescript-eslint/parser
, babel-jest
, chalk
, cron
, dotenv
, eslint
, eslint-config-prettier
, eslint-plugin-prettier
, nanoid
, node-fetch
, nodemon
, postgres
, prettier
, rimraf
, supertest
, ts-jest
, ts-loader
, tsconfig-paths
, typescript
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@babel/core
, @babel/preset-env
, @babel/preset-react
, @babel/preset-typescript
, @gear-js/api
, @hcaptcha/react-hcaptcha
, @hookform/resolvers
, @polkadot/api
, @polkadot/api-derive
, @polkadot/react-identicon
, @polkadot/types
, @react-aria/utils
, @rollup/plugin-commonjs
, @rollup/plugin-image
, @rollup/plugin-typescript
, @storybook/addon-essentials
, @storybook/addon-interactions
, @storybook/addon-links
, @storybook/blocks
, @storybook/react
, @storybook/react-vite
, @substrate/connect
, @tanstack/react-query
, @testing-library/jest-dom
, @testing-library/react
, @types/lodash.isequal
, @types/lodash.isplainobject
, @types/lodash.isstring
, @types/node
, @types/react
, @types/react-dom
, @types/react-transition-group
, @typescript-eslint/eslint-plugin
, @typescript-eslint/parser
, @vitejs/plugin-react
, babel-jest
, clsx
, eslint
, eslint-config-prettier
, eslint-plugin-import
, eslint-plugin-jsx-a11y
, eslint-plugin-react
, eslint-plugin-react-hooks
, eslint-plugin-react-refresh
, jest
, jest-environment-jsdom
, ky
, nanoid
, react
, react-dom
, react-error-boundary
, react-hook-form
, react-number-format
, react-router-dom
, rollup
, rollup-plugin-dts
, rollup-plugin-terser
, sass
, simplebar-react
, storybook
, tslib
, typescript
, vite
, vite-plugin-checker
, vite-plugin-dts
, vite-plugin-node-polyfills
, vite-plugin-svgr
, yup
, zod
)@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
, lint-staged
, yarn
)These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
api/programs/Cargo.toml
scale-info 2.11.0
codec 3.6.9
primitive-types 0.12.2
api/programs/empty/Cargo.toml
api/programs/test-gas/Cargo.toml
api/programs/test-gas/io/Cargo.toml
scale-info 2.11.0
codec 3.6.9
api/programs/test-meta/Cargo.toml
api/programs/test-meta/io/Cargo.toml
api/programs/test-meta/state-v1/Cargo.toml
api/programs/test-meta/state-v2/Cargo.toml
api/programs/test-waitlist/Cargo.toml
idea/tests/programs/Cargo.toml
gstd 1.4.1
gwasm-builder 1.4.1
idea/tests/programs/ping-sails/app/Cargo.toml
idea/tests/programs/ping-sails/wasm/Cargo.toml
docker-compose.yml
redis 6.2.14-alpine
postgres 14.5
rabbitmq 3.11
ghcr.io/gear-tech/node 0.1.0-05339e21
api/examples/package.json
@polkadot/api 10.13.1
dotenv ^16.0.0
rxjs ^7.5.5
ts-node ^10.4.0
api/package.json
@babel/plugin-transform-typescript 7.25.2
@babel/preset-env 7.25.3
@babel/preset-typescript 7.24.7
@polkadot/api 12.2.3
@polkadot/typegen 12.2.3
@polkadot/types 12.2.3
@polkadot/types-codec 12.2.3
@polkadot/wasm-crypto 7.3.2
@rollup/plugin-commonjs 26.0.1
@rollup/plugin-json 6.1.0
@rollup/plugin-node-resolve 15.2.3
@rollup/plugin-typescript 11.1.6
@types/jest 29.5.12
@types/rollup-plugin-peer-deps-external 2.2.5
@typescript-eslint/parser 8.0.0
babel-cli 6.26.0
babel-core 6.26.3
babel-jest 29.7.0
eslint 9.8.0
jest 29.7.0
rollup 4.19.2
rollup-plugin-peer-deps-external 2.2.4
rollup-plugin-typescript2 0.36.0
rxjs 7.8.1
ts-jest 29.2.4
ts-node 10.9.2
typescript 5.5.4
@polkadot/api 12.0.1
@polkadot/wasm-crypto 7.3.2
rxjs 7.8.1
idea/api-gateway/package.json
@types/amqplib ^0.8.2
@types/cron 2.0.0
amqplib ^0.10.3
cron 2.1.0
dotenv 16.0.1
express 4.18.1
hcaptcha 0.1.1
nanoid 3.3.4
redis ^4.6.8
rimraf 3.0.2
@types/express 4.17.13
@types/jest 26.0.24
@types/node 14.18.24
@types/nodemon 1.19.2
@typescript-eslint/eslint-plugin 4.33.0
@typescript-eslint/parser 4.33.0
eslint 7.32.0
eslint-config-prettier 8.5.0
eslint-plugin-prettier 3.4.1
nodemon 2.0.19
prettier 2.7.1
supertest 6.2.4
ts-jest 26.5.6
ts-loader 8.4.0
ts-node 10.9.1
ts-node-dev 2.0.0
tsconfig-paths 3.14.1
typescript 4.7.4
idea/common/package.json
@gear-js/api 0.38.1
@polkadot/api 11.0.2
winston 3.7.2
typescript 4.7.4
idea/explorer/package.json
class-validator 0.14.1
cron ^3.1.7
dotenv ^16.4.5
express 4.19.2
nanoid ^5.0.7
pg 8.12.0
redis ^4.6.15
reflect-metadata ^0.2.2
@types/express 4.17.21
@types/node 20.14.2
ts-node-dev ^2.0.0
typescript 5.5.3
yarn 3.3.0
idea/faucet/package.json
@gear-js/api 0.38.1
@polkadot/api 11.0.2
chalk 4.1.2
class-transformer 0.5.1
cron ^3.1.6
express 4.18.1
hcaptcha 0.1.1
nodemon 2.0.16
pg 8.7.1
postgres 1.0.2
swagger-ui-express ^5.0.1
typeorm 0.3.9
winston 3.3.3
yamljs ^0.3.0
@types/express 4.17.13
@types/jest ^29.5.12
@typescript-eslint/eslint-plugin 4.33.0
@typescript-eslint/parser 4.33.0
dotenv 10.0.0
eslint 7.32.0
eslint-config-prettier 8.5.0
eslint-plugin-prettier 3.4.1
jest ^29.7.0
ts-jest ^29.2.4
ts-node-dev 2.0.0
typescript 4.7.4
idea/frontend/package.json
@gear-js/api 0.38.1
@hcaptcha/react-hcaptcha 1.8.1
@hookform/resolvers 3.3.2
@polkadot/api 11.0.2
@polkadot/react-identicon 3.6.3
@polkadot/types 11.0.2
@polkadot/util 12.6.2
@react-aria/utils 3.21.0
@tanstack/react-query 5.29.0
bignumber.js 9.1.2
clsx 2.0.0
ky 1.0.1
localforage 1.10.0
lodash.isequal 4.5.0
lodash.isplainobject 4.0.6
lodash.isstring 4.0.1
react 18.2.0
react-dnd 16.0.1
react-dnd-html5-backend 16.0.1
react-dom 18.2.0
react-error-boundary 4.0.11
react-gtm-module 2.0.11
react-hook-form 7.48.2
react-number-format 5.3.1
react-router-dom 6.16.0
react-transition-group 4.4.5
sails-js 0.1.8
simplebar-react 3.2.4
yup 1.3.2
zod 3.22.4
@types/lodash.isequal 4.5.6
@types/lodash.isplainobject 4.0.7
@types/lodash.isstring 4.0.7
@types/node 20.8.4
@types/react 18.3.3
@types/react-dom 18.3.0
@types/react-gtm-module 2.0.3
@types/react-transition-group 4.4.7
@typescript-eslint/eslint-plugin 6.7.5
@typescript-eslint/parser 6.7.5
@vitejs/plugin-react 4.1.0
eslint 8.51.0
eslint-config-prettier 9.0.0
eslint-import-resolver-typescript 3.6.1
eslint-plugin-import 2.28.1
eslint-plugin-jsx-a11y 6.7.1
eslint-plugin-react 7.33.2
eslint-plugin-react-hooks 4.6.0
eslint-plugin-react-refresh 0.4.3
sass 1.69.1
typescript 5.5.3
vite 4.4.11
vite-plugin-checker 0.6.2
vite-plugin-node-polyfills 0.15.0
vite-plugin-svgr 4.1.0
idea/indexer-db/package.json
typeorm 0.3.20
typescript 5.4.5
yarn 3.3.0
idea/indexer/package.json
@gear-js/api ^0.38.1
@polkadot/api 11.0.2
amqplib 0.10.3
class-transformer 0.5.1
cron ^3.1.6
pg 8.10.0
rxjs 7.8.0
typeorm 0.3.17
winston 3.8.2
@polkadot/types 11.0.2
@types/amqplib 0.10.1
@types/node 18.15.11
jest 29.5.0
prettier 2.8.7
ts-jest 29.0.5
ts-node-dev 2.0.0
typescript 5.0.2
idea/meta-storage/package.json
@gear-js/api 0.38.1
@polkadot/api 11.0.2
amqplib 0.10.3
dotenv ^16.3.1
pg 8.10.0
typeorm ^0.3.17
ts-node-dev ^2.0.0
typescript 5.5.3
yarn 3.3.0
idea/squid/package.json
@gear-js/api 0.38.1
@polkadot/api 11.0.2
@subsquid/graphql-server 4.5.1
@subsquid/ss58 2.0.2
@subsquid/substrate-processor 8.3.0
@subsquid/substrate-runtime ^2.0.0
@subsquid/typeorm-migration 1.3.0
@subsquid/typeorm-store 1.5.1
dotenv 16.4.5
pg 8.11.5
sails-js 0.1.4
typeorm 0.3.20
@subsquid/substrate-metadata-explorer 3.1.2
@subsquid/substrate-typegen 8.1.0
@subsquid/typeorm-codegen 2.0.0
@types/node 20.12.7
ts-node-dev ^2.0.0
typescript 5.4.5
node >=20
idea/test-balance/package.json
@gear-js/api 0.38.1
@polkadot/api 11.0.2
@types/amqplib 0.8.2
amqplib 0.10.3
chalk 4.1.2
class-transformer 0.5.1
cron ^3.1.6
express 4.18.1
nodemon 2.0.16
pg 8.7.1
postgres 1.0.2
typeorm 0.3.9
winston 3.3.3
@types/express 4.17.13
@typescript-eslint/eslint-plugin 4.33.0
@typescript-eslint/parser 4.33.0
dotenv 10.0.0
eslint 7.32.0
eslint-config-prettier 8.5.0
eslint-plugin-prettier 3.4.1
ts-node-dev 2.0.0
typescript 4.7.4
idea/tests/package.json
@babel/plugin-transform-typescript 7.20.2
@babel/preset-env 7.20.2
@babel/preset-typescript 7.18.6
@gear-js/api 0.38.1
@polkadot/api 11.0.2
babel-jest 28.1.3
dotenv 16.0.3
jest ^29.1.2
node-fetch 2.6.7
ts-jest 29.1.1
ts-node 10.9.1
@types/jest 29.2.3
typescript 4.9.3
idea/voucher-indexer/package.json
@subsquid/archive-registry ^3.3.0
@subsquid/graphql-server ^4.5.0
@subsquid/ss58 ^2.0.2
@subsquid/substrate-processor ^8.1.1
@subsquid/substrate-runtime ^1.0.3
@subsquid/typeorm-migration ^1.3.0
@subsquid/typeorm-store ^1.2.6
dotenv ^16.4.4
express ^4.19.1
pg 8.11.3
ts-node ^10.9.2
typeorm ^0.3.20
@subsquid/substrate-metadata-explorer ^3.1.2
@subsquid/substrate-typegen ^8.0.2
@subsquid/typeorm-codegen ^1.3.3
@types/express ^4.17.21
@types/node ^20.11.17
ts-node-dev ^2.0.0
typescript ^5.3.3
node >=16
package.json
@typescript-eslint/eslint-plugin 5.57.1
@typescript-eslint/parser 5.57.1
eslint 8.57.0
husky 8.0.3
lint-staged 15.0.2
yarn 3.3.0
tools/cli/package.json
@gear-js/api 0.32.1
@polkadot/api 10.9.1
chalk 4
commander 10.0.1
inquirer 9.2.6
winston 3.8.2
yaml 2.3.0
@types/node 20.2.4
ts-node 10.9.1
typescript 5.0.4
tools/txwrapper/package.json
@substrate/txwrapper-core 7.4.0
@polkadot/api 11.1.1
@substrate/txwrapper-dev 7.4.0
@types/jest 29.5.12
@types/node-fetch 2.6.11
babel-jest 29.7.0
jest 29.7.0
node-fetch 2.7.0
ts-jest 29.1.3
ts-node 10.9.2
typescript 5.4.5
yarn 3.3.0
utils/gear-hooks/package.json
@polkadot/api-derive 11.0.2
@polkadot/util 12.6.2
@substrate/connect 0.8.10
bignumber.js 9.1.2
nanoid 5.0.1
react-transition-group 4.4.5
@gear-js/api 0.38.1
@polkadot/api 11.0.2
@polkadot/extension-inject 0.51.1
@polkadot/types 11.0.2
@rollup/plugin-commonjs 25.0.5
@rollup/plugin-node-resolve 15.2.3
@tanstack/react-query 5.29.0
@types/react 18.3.3
@types/react-dom 18.3.0
@types/react-transition-group 4.4.7
react 18.2.0
react-dom 18.2.0
rollup 4.0.2
rollup-plugin-peer-deps-external 2.2.4
rollup-plugin-terser 7.0.2
rollup-plugin-typescript2 0.36.0
sails-js 0.1.8
typescript 5.5.4
@gear-js/api 0.38.1
@polkadot/api 11.0.2
@tanstack/react-query 5.29.0
react 18.2.0
react-dom 18.2.0
sails-js 0.1.8
utils/gear-ui/package.json
@babel/core 7.18.13
@babel/preset-env 7.18.10
@babel/preset-react 7.18.6
@babel/preset-typescript 7.18.6
@rollup/plugin-commonjs 21.1.0
@rollup/plugin-image 3.0.1
@rollup/plugin-node-resolve 13.3.0
@rollup/plugin-typescript 8.3.3
@svgr/rollup 6.5.1
@testing-library/jest-dom 5.16.5
@testing-library/react 13.3.0
@types/jest 28.1.8
@types/react 18.2.36
@types/react-dom 18.2.14
babel-jest 29.0.1
clsx 1.2.1
identity-obj-proxy 3.0.0
jest 29.0.1
jest-environment-jsdom 29.0.1
rollup 2.78.1
rollup-plugin-dts 4.2.2
rollup-plugin-peer-deps-external 2.2.4
rollup-plugin-postcss 4.0.2
rollup-plugin-terser 7.0.2
tslib 2.4.0
typescript 5.2.2
react 18.2.0
react-dom 18.2.0
sass 1.69.1
utils/meta-cli/package.json
@gear-js/api 0.27.7
@polkadot/api 9.9.1
chalk 5.0.1
commander 9.3.0
inquirer 8.2.4
jest 27.5.1
utils/vara-ui/package.json
@storybook/addon-essentials 7.2.1
@storybook/addon-interactions 7.2.1
@storybook/addon-links 7.2.1
@storybook/addon-onboarding 1.0.11
@storybook/blocks 7.2.1
@storybook/react 7.2.1
@storybook/react-vite 7.2.1
@storybook/testing-library 0.2.2
@types/react 18.3.2
@types/react-dom 18.3.0
@typescript-eslint/eslint-plugin 6.0.0
@typescript-eslint/parser 6.0.0
@vitejs/plugin-react 4.3.0
clsx 2.1.1
eslint 8.57.0
eslint-plugin-react-hooks 4.6.2
eslint-plugin-react-refresh 0.4.7
eslint-plugin-storybook 0.8.0
sass 1.77.2
storybook 7.2.1
typescript 5.0.2
vite 4.4.5
vite-plugin-dts 3.5.1
vite-plugin-svgr 3.2.0
react ^18.2.0
react-dom ^18.2.0
.nvmrc
node 18
Alert about copying to clipboard doesn't work in some places. E.g. copying Account ID, program ID.
Press on the program on the programs page.
Press on the account ID
No response
No response
No response
gear-tech/gear#2301 introduces new mechanism of pausing programs. This suggestion is about better user experience not to miss a moment to prolong program rent.
No response
if the user already has an encoded payload, you need to provide the opportunity to specify it in the input and check that it is a hex type:
At the same time, when sending a message/uploading program, we do not indicate the metafile (we only save it on the backend)
No response
Hey.
@osipov-mit I've found a minor typo on method name, just change subsribeBalanceChange
to subscribeBalanceChange
in the
Line 53 in 182c5e6
No response
When the user clicks on the "Make Transfer" button he sees nothing. You need to display the transfer balance information. There are events in the API that notify you of a successful transfer
./api/README.md
current examples refers to already archived repo
Now if we get a test balance or spend gas, to show an updated balance is necessary to refresh the page.
Needs to update account balance automatically
Move account balance to global state and provide update balance action
No response
Search for a program by ID among all uploaded programs
Now the search is happening only at the current page. We need to make a request to backend for getting specific program among all program which were uploaded. Also the search have to be available on the "Recent uploaded page"
No response
No response
Need to delete "number of calls" label on the programs pages
Possibility to have multiple RPC node endpoints to choose from if one is failing.
So in the UI it would look like:
TEST NETWORK
Maybe this is already possible? In that case please enlight me :)
Now the program is loaded in 2 stages: splitting the program into .opt and .meta files and then downloading separately.
It's not user-friendly.
No response
Provide gas limit after its recommended amount calculation to backend
.at function used in @gear-js/api library. And Safari doesn't support it
Open Safari and try to send any transaction
No response
No response
No response
Now on these pages, the top bar with wallet disappears, and impossible to know what account we use for signing transactions.
Add topbar with logo and wallet
No response
When the user is uploading a program and uploading is failed (e.g. there was not enogh balance) window with uplpoading tools is closing.
We have to leave the window open so that the user doesn't have to re-enter all parameters
No response
No response
If you enter https://idea.gear-tech.io/ for the first time doesn't set node address by default
No response
No response
<Paste your log here>
I try to run localhost node,and idea website connect that。 I think need run idea website
backend in the localhost。
I not find the tutorial about idea website
backend。
We can go to the wrong URL, for example, /uploaded-programs2222 and there is an empty page
Update our router's settings
No response
Generate html inputs form from this:
[
{
"type": {
"field": {
"_enum_Option": ["u8"]
}
},
"payload1": {
"field": [1, 2, 3, 4]
},
"payload2": {
"field": null
}
},
{
"type": {
"_enum_Result": {
"ok": "u8",
"err": { "_enum_Option": "String" }
}
},
"payload1": {
"ok": 10
},
"payload2": {
"err": "Error"
},
"payload3": {
"err": null
}
},
{
"type": {
"person": {
"name": "String",
"surname": "String",
"patronymic": {
"_enum_Option": "String"
}
}
},
"payload1": {
"person": {
"name": "Name",
"surname": "Surname",
"patronymic": "Patronymic"
}
},
"payload2": {
"person": {
"name": "Name",
"surname": "Surname",
"patronymic": null
}
}
},
{
"type": {
"_enum": {
"SenMessage": { "message": "String", "to": { "id": "i32", "name": { "_enum_Option": "String" } } },
"ReadMessage": "Null"
}
},
"payload1": {
"SendMessage": { "message": "Hello", "to": { "id": 235, "name": "Vasily" } }
},
"payload2": {
"SendMessage": { "message": "Hello", "to": { "id": 235, "name": null } }
},
"payload3": {
"ReadMessage": null
}
}
]
On upload program page:
If you upload or delete metadata, it is not possible to upload the metafile a second time.
No response
No response
<Paste your log here>
We nedd to add the ability to connect to different nodes
Add page with all user notifications (logs)
could not run yarn
under api/using-examples
cd api/using-examples
touch yarn.lock
yarn
using-examples
No response
4:14PM yarn
➤ YN0000: ┌ Resolution step
➤ YN0000: ⠧ @jridgewell/sourcemap-codec@npm:^1.4.10
^C% 4:14PM yarn build
src/balance.ts:6:18 - error TS2339: Property 'subsribeBalanceChange' does not exist on type 'GearEvents'.
6 api.gearEvents.subsribeBalanceChange(alice.address, (newBalance) => {
~~~~~~~~~~~~~~~~~~~~~
src/debug-mode.ts:14:34 - error TS2339: Property 'static_pages' does not exist on type 'ProgramDetails'.
14 data.programs.forEach(({ id, static_pages, persistent_pages, code_hash, nonce }) => {
~~~~~~~~~~~~
src/debug-mode.ts:14:48 - error TS2339: Property 'persistent_pages' does not exist on type 'ProgramDetails'.
14 data.programs.forEach(({ id, static_pages, persistent_pages, code_hash, nonce }) => {
~~~~~~~~~~~~~~~~
src/debug-mode.ts:14:66 - error TS2339: Property 'code_hash' does not exist on type 'ProgramDetails'.
14 data.programs.forEach(({ id, static_pages, persistent_pages, code_hash, nonce }) => {
~~~~~~~~~
src/debug-mode.ts:14:77 - error TS2339: Property 'nonce' does not exist on type 'ProgramDetails'.
14 data.programs.forEach(({ id, static_pages, persistent_pages, code_hash, nonce }) => {
~~~~~
src/debug-mode.ts:17:10 - error TS2339: Property 'messageQueue' does not exist on type 'DebugData'.
...
In the new program download form, handle_input is processed , but it should check for init.
No response
No response
<Paste your log here>
Add
button.To create keypairs use these functions:
import { GearKeyring } from '@gear-js/api';
// restore from json
GearKeyring.fromJson(json, passphrase);
// create from seed
await GearKeyring.fromSeed(seed);
// create from mnemonic
GearKeyring.fromMnemonic(mnemonic)
To generate mnemonic and seed use:
import { GearKeyring } from '@gear-js/api';
const mnemonic = GearKeyring.generateMnemonic();
// it returns new generated seed and mnemonic
const { seed, mnemonic } = GearKeyring.generateSeed();
// returns seed for already generated mnemonic
GearKeyring.generateSeed(mnemonic);
No response
We have some significant changes in gear-tech/gear:
handle_reply
is prohibited now; therefore, replies from a program to the user don't go to the mailbox but to the log only: gear-tech/gear#2675We need to reflect these changes in IDEA after the next release.
Check metadata usage and fix it accordingly.
No response
Now to get metadata from the backend in one case we use dispatch(getProgramAction(hash)) -> call program.data method, and another case (on MessageForm.tsx -> SendMessageToProgram) we use 'program.getMeta'
Find the optimal option to get metadata
Update after gear-tech/gear#3059
Add new payload
param to read_state
. Parse State
meta as bidirectional. Add input for payload in IDEA when requesting state.
No response
I'm using gear-dapps/ping contract and for some reason idea.gear-tech.io
sends \u0010PING
instead of PING
. Since the contract is expecting a "PING" value, it doesn't reply to user
\u0010
and @
)No response
No response
No response
Copy program ID
We have to add button (Copy ID
) to copy program ID and delete the copy id from when clicking to program name
No response
If the program doesn't have metadata then on the program page occurs an error
No response
No response
<Paste your log here>
I don't know my balance and there is no way to check it
Add to the header or next to the button "Get test balance"
No response
Asynchronous messages in init and handle the message get into the Waitlist where additional gas is paid for finding it. In this case, we cannot guarantee that the calculated gas will be successful.
GasInfo {
...
waited: bool;
}
If after gas calculation waited is true.
We need to show additional massage and a small button [+10%]
Message: "The message will be added to the Waitlist. For successful execution, we recommend increasing the gas value additionally."
No response
No response
Refactor transaction errors for more understanding of what the error is
https://github.com/gear-tech/gear-js/blob/master/api/api/src/State.ts
It's necessary to provide error when user is trying to read state of non-existent program
To date, the best practice in dApp is the use of web3 extension. it manages accounts and allows the signing of transactions with those accounts. It is safe, versatile, and has good support.
Documentation https://polkadot.js.org/docs/extension
Extancion https://polkadot.js.org/extension/
No response
There is a breaking change in the node interface - extrinsics signature alteration (see gear-tech/gear#3083 for details).
In particular, the Gear::send_message
and Gear::send_reply
extrinsics will now take an extra boolean argument indicating the intention of the caller to submit an extrinsic in a "gasless" way (that is, prepaid
through a voucher that should have been issued for the caller's account and the destination program).
The UI should be aligned with this change.
No response
Look at #107
There you can find new fields which are returned from getWasmMetadata method.
use 0.6.6 version of @gear-js/api
Now it is very inconvenient to specify a large amount of gas because of the large number of numeric digits (like 1000000000)
Provide the possibility to introduce gas amount like 1_000_000_000
No response
When the page load/reload the function "balance.transfer" calls.
Need to remove this call. And add button (with call "balance.transfer) for update balance.
@codev0
No response
in case of negative scenarios, the error message is duplicated on the message sending page.
No response
No response
<Paste your log here>
Currently if I restart the local gear network, the programs will stay cached in the IndexedDB and still appear on the list despite not existing onchain.
Add a simple button that allows the deletion of all programs (done practically by removing the IndexedDB entry created here that contains the list of programs.
No response
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.