Timeline for unable to map abi string to array to object with known keys source, contract
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 27, 2022 at 22:08 | comment | added | Alexander Theißen |
Also, you are saying that you connect to the Moonriver network but the RPC endpoint you are using is kusama-rpc.polkadot.io . This Kusama and not Moonriver. Parachains have their own endpoint. You do not connect through their relay chain.
|
|
Jul 27, 2022 at 22:06 | history | edited | Alexander Theißen | CC BY-SA 4.0 |
formatting
|
Jul 12, 2022 at 23:42 | vote | accept | cooper jones | ||
Jul 11, 2022 at 21:40 | answer | added | Andreea Eftene | timeline score: 2 | |
Jul 3, 2022 at 6:52 | comment | added | RosaryBeads | For ETH-contracts you can use the normal web3.js/ethers.js toolsets. | |
Jun 14, 2022 at 6:06 | comment | added | cooper jones | Oh that would make sense, I just assumed that since moonriver was built on kusama that the polkadot api would be able to interact with it. Here is the abi I was using: pastebin.com/D5GnE8cE. Also if you have any tips for how to interact with this contract using javascript that would be super helpful:) | |
Jun 14, 2022 at 5:00 | comment | added | Jaco |
@polkadot/api-contracts cannot interact with Ethereum-like contracts, only those using the Substrate contracts pallet. In this case it would seem, since you are trying on Moon*, it is an Ethereum-like contract. (To verify, sharing your ABI would be useful)
|
|
S Jun 14, 2022 at 4:41 | review | First questions | |||
Jun 15, 2022 at 12:17 | |||||
S Jun 14, 2022 at 4:41 | history | asked | cooper jones | CC BY-SA 4.0 |