Questions tagged [tcurrency]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer

Pallate for Native Blockchain Currency

In my Blockchain app, I want to add my own native currency. For extended Features of my application Users will be rewarded and they will receive coin for that. The users will receive the reward in ...
Ariful Islam's user avatar
3 votes
1 answer

`Currency::create_deposit` of `pallet_balance` fail on actual runtime but passes on mock rutime

The benchmark is written as: one_extrinsic { let caller: <T as frame_system::Config>::AccountId = make_account::<T>(1); assert_eq!( <T as crate::Config&...
Sudip Ghimire's user avatar
0 votes
1 answer

Error in currency transfer

I have currency configuration as follows use frame_support::traits::{Currency}; and in frame config type Currency: Currency<Self::AccountId>; Then in an extrincis function, I am trying to do a ...
not 0x12's user avatar
  • 343
5 votes
1 answer

Difference between ReservableCurrency and NamedReservableCurrency?

The docs on the traits ReservableCurrency and NamedReservableCurrency currency are the same, although they clearly have subtle differences between them. When should someone use ReservableCurrency vs ...
insipx's user avatar
  • 373