Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 258

Questions about the Polkadot-JS API used to interact with Substrate-based chains using JavaScript.

2 votes
1 answer
91 views

I Can't Generate The right AccountId from Ethereum(H160) Address

I am writing a test to test evm contract instantiation using polkadot api. I get to derive the evm account like this: const alice = keyring.addFromUri('//Alice', { name: 'Alice default' }); const alic …
dharjeezy's user avatar
  • 429
3 votes
1 answer
87 views

Writing a test to call staking.chill() so as to remove Charlie as a Validator

I am trying to write a test on PolkadotJS to chill Charlie Account so as to remove Charlie as a validator and then ascertain that Charlie has been removed. But, Charlie does not seem to have been remo …
dharjeezy's user avatar
  • 429
3 votes
1 answer
80 views

How can I sign and execute transactions using custom origin(20 bytes address) in PolkadotJS

I have a pallet which ensures a particular custom origin of H160(20 bytes). Actually, this pallet is to ensure that the Origin is that of an ethereum address(20 bytes). I am therefore writing Integra …
dharjeezy's user avatar
  • 429