Questions tagged [astar]
Questions that are specific to Astar's implementation of a Substrate node.
61
questions
0
votes
1
answer
20
views
How to calculate the TVL in Astar dapp staking?
Is it possible to calculate the TVL of dapp staking on Astar using the data from the storage function dappStaking.contractStake, and if so, how would one do it?
1
vote
1
answer
21
views
How to crate example daap on Astar network
I would like to be a developer on Astar network.
How to crate example daap on Astar network
0
votes
0
answers
21
views
Sent MNT in Mantle blockchain using ASTR destination, how to recover?
I made a stupid mistake: I wanted to move some ASTR from EVM address managed by Metamask, to native address managed by polkadot.js. But I initiated transaction in Metamask while being on Mantle ...
0
votes
1
answer
43
views
dApp Staking - Migration from v2 to v3
Please, I need help on the Stakes topic in v2 to v3. There's a thread on the forum, but I realized I can't participate in the questions there.
Sorry, I'm new to these processes and would like to know ...
0
votes
0
answers
26
views
How to implement XC-20 standard
I need help understanding XC-20 implementation and how its components interact. Suppose I run a parachain (ParaA) that aims to supports XC-20. I need to include Frontier so ParaA is fully EVM ...
0
votes
1
answer
45
views
How to sign with private key(Not secret key) that was created by "RFC-8032"(described below contents) on offline?
Backgrounds
I am working on "ASTAR" parachain scene(TestNet: Shibuya).
I can sign message(unsigned-transaction) on offline environment and then broadcast signed-messaged(signed-transaction).
...
0
votes
1
answer
25
views
Swanky throws error on inititating smart contract:- error install deps "ERROR: [Errno 2] No such file or directory: 'install' "
I'm trying to init a smart contract using swanky and i get this error below. I even tried changing my node version to 18.10.0. It doesn't fix it. Am I missing anything?
1
vote
1
answer
60
views
How to create wrapped DOT asset on local setup
Local setup: Zombienet running Shiden and Relay Chain.
What are the exact steps needed to create an asset which represents DOT on Shiden (wrapped DOT). More specifically, I am trying to create the ...
3
votes
1
answer
132
views
How to transfer wrapped DOT from Astar to Polkadot using XCM
How do you tranfer wrapped DOT (AssetId: 340,282,366,920,938,463,463,374,607,431,768,211,455) on Astar/Shiden to Polkadot/Kusama using XCM?
Following this guide from Astar XCM documentation, this ...
1
vote
0
answers
21
views
"ContractTrapped" Error even with successful cross-contract call
let result_call = ink::env::call::build_call::<Environment>()
.call(self.escrow_address)
.gas_limit(0)
.transferred_value(0)
...
1
vote
1
answer
62
views
How to pass value as a argument in send transactions?
An error occurred: 'Expected 2 arguments for the contract message 'vote', but only 1 was provided.First argument was number type, and the second one was Enum . This error arises when attempting to ...
0
votes
0
answers
62
views
Unable to verify WASM contract in Substrate Astar
I'm encountering difficulties while attempting to verify my WASM smart contract through Astar's Subscan tool. Despite multiple attempts using various options, the verification process remains ...
1
vote
1
answer
56
views
Why is this cross-contract call misbehaving?
#[ink(message)]
pub fn create_new_better_payment(
&mut self,
_value: Balance,
_arbiter_provider: AccountId,
_deadline: u64,
//...
0
votes
1
answer
28
views
Problem shibuya deploy contract
I have tokens from faucet in Shibuya. I ran the command cargo contract build for flipper contract.
When I want to deploy contract using Upload & deploy code, I have contracts.instantiateWithCode ...
0
votes
1
answer
78
views
Get contract address from instantiated ContractRef
Based on this example
I'm doing something similar:
#[ink(message)]
pub fn new_multisig(&mut self, threshold: u8, owners_list: Vec<AccountId>, salt: Vec<u8>) {
let ...