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 "[email protected]" 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 <[email protected]>

Co-authored-by: Alexander Theißen <[email protected]>
  • 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.