Skip to content

Commit

Permalink
Add pallet-assets chain extension. (#4)
Browse files Browse the repository at this point in the history
* Add `pallet-assets` chain extension.

The id of the chain extension is `0x48f6`. It is the first 2 bytes of the `blake2b` hash from the "pallet-assets-chain-extension@v0.1" string.
The [chain extension](https://github.com/Supercolony-net/pallet-assets-chain-extension) created with usage of the [`obce`](https://github.com/Supercolony-net/obce) crate.

The chain extension is not ready for production because it requires some additional changes on the `pallet-assets` side(some operations should be performed by the contract only if the contract is admin).
But it is a matter of time, so I think we can register it and fix it with minor patches.

Added support of the extension into [substrate-contract-node](paritytech/substrate-contracts-node#146) and into [OpenBrush](Supercolony-net/openbrush-contracts#168).

* Update registry.json

Co-authored-by: Alexander Theißen <alex.theissen@me.com>

Co-authored-by: Alexander Theißen <alex.theissen@me.com>
  • Loading branch information
xgreenx and athei authored Aug 22, 2022
1 parent 48979d8 commit 5d4d180
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,10 @@
"id": 1,
"repository:": "https://github.com/paritytech/pallet-contracts-xcm",
"typeName:": "Extension"
},
{
"id": 18678,
"repository:": "https://github.com/Supercolony-net/pallet-assets-chain-extension",
"typeName:": "AssetsExtension"
}
]

0 comments on commit 5d4d180

Please sign in to comment.