Skip to content

Commit

Permalink
fix sponsoring docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Maksandre committed Jun 3, 2024
1 parent c51d644 commit dfba3b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion docs/.vuepress/configs/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ export const sidebar: Record<string, SidebarConfig> = {
'/build/evm/precompiles/collection-helpers.md',
],
},
'/build/evm/sponsoring.md',
'/build/evm/smart_contracts.md',
'/build/evm/UniqueNFT.md',
],
Expand Down
4 changes: 3 additions & 1 deletion docs/build/evm/precompiles/contract-helpers.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Address: **0x842899ecf380553e8a4de75bf534cdf6fbf64049**

This precompiled contract allows the owner to manage the sponsorship of their contract.

In Unique Network, transactions can be sponsored, allowing for a gasless experience where the sponsor covers the transaction fees. This enables seamless and cost-free transfers of NFTs and the execution of smart contracts, even for accounts without native tokens.

[[toc]]

## Interface
Expand Down Expand Up @@ -93,4 +95,4 @@ console.log("Sponsoring enabled now:", sponsoringEnabledAfter);

## Setting up Metamask

When sending transactions through Metamask, it initially verifies if the user has sufficient balance to cover gas fees. To enable sponsoring with Metamask, we need to bypass this gas check. Use the following library: https://github.com/UniqueNetwork/web3-provider-sponsoring.
When sending transactions through Metamask, it initially verifies if the user has sufficient balance to cover gas fees. To enable sponsoring with Metamask, we need to bypass this gas check. Use the following [library](https://github.com/UniqueNetwork/web3-provider-sponsoring).
4 changes: 0 additions & 4 deletions docs/build/evm/sponsoring.md

This file was deleted.

0 comments on commit dfba3b5

Please sign in to comment.