-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port Account Actor Functionality #16
Comments
I agree with your reasoning that this functionality should be the first to be implemented. We can leverage polkadot-sdk's frame-system and pallet-balances crates for this. |
Are we using a certain SS58 prefix for accounts or going with the default (42)? |
Don't this prefix need to be unique? According to the schema: https://github.com/paritytech/ss58-registry/blob/main/ss58-registry.json#L4C1-L4C68. We need to create a PR there for our network. |
I was reading this where it says: |
Agreed, let's keep it as 42 for now. |
So according to: https://docs.substrate.io/learn/accounts-addresses-keys/ |
Default implementation of the runtime, uses AccountData from pallet-balances, but it gets me thinking... This default implementation is about using accounts with fungible tokens, but we're not introducing any token in polka-storage, we wanna use |
@asmie do you have any ideas about that? Was the native (DOT-like) coin used in the prototype? |
We should use DOT only for our system. Not sure if we could avoid using pallet-balances since it might contain some required primitives and functionality needed for our specific implementation. You can start without it, but if at some point you will need something provided by this pallet - use it? |
I think the biggest question is we don't know yet, how (in terms of implementation, not the design) we can use DOT in our native parachain. |
Moonbeam example: https://moonbeam.network/education/how-to-transfer-dot-to-moonbeam/ |
Moonbeam introduces their own xcDOT. |
Functionality of transferring DOTs, should be done via a Teleport process. Reading docs on it now: |
There is an example of a teleport in XCM Docs. I am yet to determine:
|
Current summary:
|
TODO:
|
Consider utilizing the Accounts Management section to cover this functionality.
TODO: @aidan46 needs to define the order in which pallets should be implemented and extend the description accordingly. (IMO, this should be the first for implementation, since account is the main object of any actor).
The text was updated successfully, but these errors were encountered: