github UniqueNetwork/unique-chain v930032

latest releases: v10030070, v10010064, v10010063...
2 years ago

What's New

AppPromotion pallet

App promotion is the application sponsoring financially powered by inflation and staking. Users stake their funds in exchange for rewards. Immediate rewards are generated by inflation and are taken from the Treasury.

Features that enable fractionalisation

  • Alpha prototype of Ethereum API for native refungible pallet (ERC-721 for collections, ERC-20 & ERC-1633 for tokens)
    api.tx.unique.repartition extrinsic for Refungible pallet which enables RFT tokens repartition
  • New RPC methods: api.rpc.unique.totalPieces for total amount of pieces in RFT token, api.rpc.unique.tokenOwners - returns up to 10 random owners for exact RFT or FT token
  • pieces key for RPC api.rpc.unique.tokenData method which returns total amount of RFT pieces in RFT token. Always equals 1 for an NFT token, and sum of all balances for an FT token.
  • NFT-to-RFT White Label smart contract Fractionalizer.sol supported by Unique Network
    The smart contract creates a new collection (or uses previously created collection which meets specific requirements) and processes an NFT from another collection owned by the smart contract’s user.
    In this collection the contract creates an RFT token from an NFT owned by the user and then the contract holds this NFT token during all period that this RFT token is in use.
    A user can exchange an RFT token on NFT back (in other words, receive this NFT token back from the smart contract) but only if all parts of an RFT token is owned by the user.
    The smart contract is used for creating RFT token from an NFT token on-chain. It secures that the NFT token that is processed by the contract, will be held and saved by the contract during all the time when the given substitutional RFT token is in use.
    So there will be no opportunity when an NFT and RFT that was made from this NFT, are in use at the same time.

Cross-chain token transfers through XCM

  • Unique <=> Statemint USDT transfer
  • Unique <=> Acala UNQ transfer
  • Unique <=> Moonbeam UNQ transfer
  • Quartz <=> Statemine USDT transfer
  • Quartz <=> Moonriver QTZ transfer
  • Opal <=> Westmint USDT transfer

Other

  • Enable contract sponsoring from custom address instead of contract’s balance
  • Remove scheduler pallet from Opal, Quartz, Unique networks
  • Remove rmrk pallet from Quartz
  • Upgrade to v0.9.30 polkadot

Full Changelog: v924013...v930032

Require:

  • @unique-nft/quartz-mainnet-types@930.32.0
  • @unique-nft/sapphire-mainnet-types@930.32.0
  • @unique-nft/opal-testnet-types@930.32.0

Runtimes

The information about the runtimes included in this release can be found below.

Unique

🏋️ Runtime size: 0.998 MB (1,046,319 bytes)
🗜 Compressed: Yes, 80.38%
✨ Reserved meta: OK - [6D, 65, 74, 61]
🎁 Metadata version: V14
🔥 Core version: unique-930032 (unique-0.tx2.au1)
🗳️ system.setCode hash: 0x5a2f4d83e725d6967f4f6075358503e70990793fd8138f306c2d66668f9b5434
🗳️ authorizeUpgrade hash: 0x73177ba36eba484d096ad53d3f8f455341f1cc329d611530ae2efcc319c36271
#️⃣ Blake2-256 hash: 0x62e8c33a119e18269f28f88b73aaffb92f5a3854d12dd0cc8e0893c7619fe06e
📦 IPFS: https://www.ipfs.io/ipfs/QmUJg8aH9mkgBWd4x6FrxzmepkDvJDYafc9R4CpsQg6nUF

Quartz

🏋️ Runtime size: 1.002 MB (1,050,385 bytes)
🗜 Compressed: Yes, 80.30%
✨ Reserved meta: OK - [6D, 65, 74, 61]
🎁 Metadata version: V14
🔥 Core version: quartz-930032 (quartz-0.tx2.au1)
🗳️ system.setCode hash: 0x6c13ca8793a2a06d62da657aa673aea28cc8a089b83fcb0276aafa06946f618d
🗳️ authorizeUpgrade hash: 0x99375fa8039a9e09e1627ebc31f2c208ef65893aca9d35f8c583b0bb92f861dc
#️⃣ Blake2-256 hash: 0xe7528ad03422c2be1d38b67386eab1bcdaf0c72dc09c7ee902ebf3236c298b51
📦 IPFS: https://www.ipfs.io/ipfs/QmXg5NMz7ehPZhkwdGGib5dzYhkDMtC4pJcHMioDfzGoeL

Opal

🏋️ Runtime size: 1.102 MB (1,156,034 bytes)
🗜 Compressed: Yes, 80.22%
✨ Reserved meta: OK - [6D, 65, 74, 61]
🎁 Metadata version: V14
🔥 Core version: opal-930032 (opal-0.tx2.au1)
🗳️ system.setCode hash: 0x66efe6e86fcc3c26a270dcc176a524e456de34a1154cf3a0bcf214c37b065246
🗳️ authorizeUpgrade hash: 0x6cec0c62d6fb9a5c409994c2f7e2714c5cb2c4d34088d6850ec380bc1f555ce0
#️⃣ Blake2-256 hash: 0x9ad667c9548d5309ff879734a150b5043ecb5c4bac679dc6e901a0ab8b3a7056
📦 IPFS: https://www.ipfs.io/ipfs/QmV5hUA9wqkipdMnp1pGsFZFjGdCKEKZgBriprNcgdvrUV

Rust compiler versions

This release was built and tested against the following version of rustc.
Other versions may work.

  • Rust Nightly: rustc 1.64.0-nightly (7fe022f5a 2022-07-24)

Docker image

Unique

The docker image for this release can be found at Docker hub

You may pull it using:
docker pull uniquenetwork/unique-node-public:release-v930032

Quartz

The docker image for this release can be found at Docker hub

You may pull it using:
docker pull uniquenetwork/quartz-node-public:release-v930032

Unique-testnet-local

The docker image unique-testnet-local for this release can be found at Docker hub

You may pull it using:
docker pull uniquenetwork/unique-testnet-local:v930032

Quartz-testnet-local

The docker image quartz-testnet-local for this release can be found at Docker hub

You may pull it using:
docker pull uniquenetwork/quartz-testnet-local:v930032

Opal-testnet-local

The docker image opal-testnet-local for this release can be found at Docker hub

You may pull it using:
docker pull uniquenetwork/opal-testnet-local:v930032

Don't miss a new unique-chain release

NewReleases is sending notifications on new releases.