Questions tagged [astar]

Questions that are specific to Astar's implementation of a Substrate node.

Filter by
Sorted by
Tagged with
0 votes
1 answer
14 views

How to set gasPrice using hardhat in EVM smart contract

I was developing a contract on EVM on Shibuya, Astar Network's testnet. I'm using hardhat. We successfully deployed to Shibuya testnet and Shiden network using the following settings. But it doesn't ...
0 votes
1 answer
12 views

How to find "deploymentTimeStamp" which use when I will execute the command "swanky call" with swanky-cli

% swanky --version @astar-network/swanky-cli/1.0.0-beta.4 darwin-x64 node-v16.4.0 I used "swanky cli" to deploy the contract to swanky-node. % swanky contract deploy flipper --gas ...
1 vote
1 answer
39 views

Astar Startup Error after upgrading from version v4.23.0 to v4.33.0

Good day, everyone! I'm running an Astar validator node. When I upgraded the version from v4.23.0 to v4.33.0, an error occurred. 2022-11-24 02:06:57 Astar Collator 2022-11-24 02:06:57 :vサイン: version ...
  • 13
1 vote
1 answer
40 views

How to verify EVM contracts with openzeppelin using subscan or blockscout

source code: // SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol"; import "hardhat/console....
3 votes
1 answer
47 views

Best practices for handling my own errors and openbrush's errors?

I am using ink! to implement the contract. I have implemented my own error, and the contract function has this own error as a return value. For example, suppose that function implements openbrush's ...
1 vote
2 answers
76 views

Error Installing dependencies on Swanky project init

I recently update Swanky Suite latest version @astar-network/swanky-cli/0.2.1 darwin-x64 node-v16.14.0. I create new project with swanky init my_project but throws Error Installing dependencies. Is ...
  • 147
1 vote
0 answers
39 views

swanky deploy throws error " ENOENT: no such file or directory"

I am using Swanky Suite, contract compile successfully but while deploy using swanky deploy --account alice --contract flipper --gas 100000000 --args true throws ENOENT: no such file or directory, ...
  • 147
0 votes
1 answer
64 views

#[ink(constructor)] cause a error, What is wrong with it?

error: encountered unexpected ink! attribute --> lib.rs:80:15 | 80 | #[ink(constructor)] | ^^^^^^^^^^^ when I execute $cargo +nightly contract test , the above error ...
  • 51
1 vote
1 answer
27 views

dApp registration issue - Shiden Network

I'm in the process of making a video tutorial for The Kusamarian YouTube channel :"How to register a dApp on Shiden Network" I went through all the steps, but it failed at the end. Could you ...
4 votes
1 answer
61 views

Why does the Astar XC20 wrapper example use the ERC20 wrapper functionality?

I am working on an XC20 implementation of an existing ERC20. I am basing the contract off of the Astar here. I noticed there is some code inherited from the ERC20 contract via the ERC20Wrapper ...
0 votes
2 answers
54 views

Is it possible to run moonbeam/Astar as a standalone network

I am exploring moonbeam and astar projects. I would like to know if it is possible to run a standalone network without collators or relaychain. I am interested in running a standalone network of one ...
  • 101
4 votes
0 answers
71 views

Unable to deploy EVM contract on Astar

I have cloned Astar and built it, after running the cloned Astar code i tried to deploy evm smart contract on it but it is showing Error error:evm.balanceLow. I have used SubWallet to create an evm ...
1 vote
1 answer
57 views

eth_getLogs is returning empty array on Astar

With recent updates in frontier eth_getLogs is returning empty array curl -X POST --data '{"id": 1, "jsonrpc":"2.0","method": "eth_getLogs","...
6 votes
1 answer
145 views

Transaction pool extrinsic prioritization

Currently, the transaction pool in Astar network is full with a lot of unsigned EVM transactions, which cause user transactions sent without a tip to be stuck. We are currently researching a way to ...
  • 170
3 votes
1 answer
154 views

How to calculate the optimal tip for Substrate

Currently, Astar network's transaction volume has increased drastically and we are having some trouble prioritizing the tx queue. With EVM, there are many RPCs like eth_gasPrice,eth_feeHistory, and ...
4 votes
1 answer
86 views

How to inform polkadot.js wallet to approve erc20-type token transfer? [closed]

I am developing smart contract that can stake erc20-type token, and testing it on shibuya testnet. But i have some problems. My staking contract have to request erc20-type token contract to approve ...
5 votes
2 answers
104 views

How to use substrate archive for custom chains?

In the substrate archive wiki, they showed how to archive the polkadot chain's data. Now I want to get other chains' data (like a substrate template node or Astar, Moonbeam, etc). How can I do that? ...