Hot answers tagged

10 votes
Accepted

How to add parachain logo to polkadot.js.org/apps?

Create a pull request into Polkadot.js Apps like a prospective parachain did here. It will appear when the maintainer of that repository creates a new release (after your pull request is approved and ...
Luke Schoen's user avatar
  • 2,292
4 votes
Accepted

Error: Unable to initialise options more than once

We can see here the KeyringOptions which contain the KeyringStore. Those options are what's called by loadAll() in line 326: this.KeyringOptions.init(this). If we then go to see what that init does, ...
Alberto Nicolas Penayo's user avatar
4 votes
Accepted

Show custom RPCs/RuntimeAPIs in PolkadotJS UI

I dont think the hosted Polkadot JS UI supports Custom RPCs. You need to follow the instructions for defining custom RPCs when initializing your own Polkadot JS instance as documented here: https://...
Shawn Tabrizi's user avatar
  • 15.8k
2 votes
Accepted

Transaction would exhaust the block limits

As others have commented, you seem to be looking at 2 different results. On the error - this generally happens when you don't specify enough weight on the runtime upgrade, i.e. setCode transaction. ...
Werner S's user avatar
  • 629
2 votes
Accepted

Use the Polkadot identicon styles for Parachains

Polkadot.js App reads the value from two parts: ui-settings and from an IdentityNode list https://github.com/polkadot-js/apps/blob/51835328db5f0eb90a9efcc7bf5510704a7ab279/packages/react-components/...
jonalvarezz's user avatar
2 votes

How to make an RPC call from a working custom RPC, decorate types and display info successfully?

Seems like it's an issue with the runtime, not in front-end. //rpc/src/lib.rs fn list_members( &self, supersig_account: AccountId, at: Option<<Block as BlockT>::Hash>, ) -&...
cuteolaf's user avatar
  • 103
2 votes

Auto-upload Contracts To UI OR Pre-Populate Dropzone In Modal For Adding Contracts on Polkadot-JS/apps

I'm not an export on the polkadotjs ui codebase but as you discovered, the app uses react-dropzone(docs) library for the <Dropzone />. I think you could just potentially call the passed _onDrop ...
peetzweg's user avatar
1 vote

Show custom RPCs/RuntimeAPIs in PolkadotJS UI

In order to have your RPC methods to show up, you would need to decorate the types as explained in Shawn's answer, which then need to be added to ./packages/src/api/typesBundle.ts. I am sure there is ...
Decentration's user avatar
  • 1,356
1 vote

Delegator-based contract causes UI interface to crash

Please refer to our recently published delegator example which depends on the latest official ink! release. Make sure you also use latest cargo-contract version and substrate-contracts-node
German Nikolishin's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible