Request form
Decent.xyz
  • Multichain
  • Transfer
  • Audited
Docs
Source
ChefGPT

The Box enables one-click transactions using any token on any chain. Leveraging a set of hooks and embeddable React components, developers can select which action type they would like to perform (discussed further in key concepts), and The Box takes care of the rest. It abstracts bridging and swapping to provide users a seamless transaction experience regardless of where they store their funds, allowing dapps to meet users at their point of liquidity.

AggregatorInterface.sol
AggregatorV2V3Interface.sol
AggregatorV3Interface.sol
AccessControl.sol
IAccessControl.sol
Ownable.sol
IERC2981.sol
Clones.sol
Initializable.sol
ReentrancyGuard.sol
ERC20.sol
IERC20Metadata.sol
IERC20.sol
ERC721.sol
IERC721Metadata.sol
IERC721.sol
IERC721Receiver.sol
Address.sol
Base64.sol
Context.sol
MerkleProof.sol
ERC165.sol
IERC165.sol
Math.sol
Strings.sol
EnumerableSet.sol
DCNT4907A.sol
DCNT721A.sol
DCNTCrescendo.sol
DCNTMetadataRenderer.sol
DCNTRegistry.sol
DCNTRentalMarket.sol
DCNTSDK.sol
DCNTSeries.sol
DCNTStaking.sol
DCNTVault.sol
DCNTVaultNFT.sol
ERC4907A.sol
ERC721A.sol
ERC1155Hooks.sol
FeeManager.sol
IBondingCurve.sol
IDCNTRegistry.sol
IDCNTSDK.sol
IDCNTSeries.sol
IFeeManager.sol
IMetadataRenderer.sol
IOnChainMetadata.sol
ISharedNFTLogic.sol
ITokenWithBalance.sol
MockERC20.sol
MockERC721.sol
MockV3Aggregator.sol
ISplitMain.sol
ReverseRecords.sol
Clones.sol
SplitMain.sol
SplitWallet.sol
CrescendoConfig.sol
DCNT721AStorage.sol
EditionConfig.sol
MetadataConfig.sol
TokenGateConfig.sol
Credits.sol
MetadataRenderAdminCheck.sol
MusicMetadata.sol
OperatorFilterer.sol
Pausable.sol
SharedNFTLogic.sol
Splits.sol
Version.sol
ZKEdition.sol
IERC4907A.sol
IERC721A.sol
IOperatorFilterRegistry.sol
ERC1155.sol
ERC20.sol
SafeTransferLib.sol

Chains

Authors

Decent.xyz
  • Multichain
  • Transfer
  • Audited
Info
Source
ChefGPT
Expand
Share

Get Cookin'

Chains

Authors

DecentSDK

Getting Started:

  • npm i to install packages
  • copy .env.example to .env and add your variables
  • npx hardhat run scripts/deployDCNTSDK.ts --network optimism_testnet to deploy the DecentSDK

Testing

  • npm i to install packages
  • npx hardhat test

Prettying

  • npm i to install packages
  • npx prettier --write 'contracts/**/*.sol'

Adding a new SDK Module

  1. add contracts to /contracts folder
  2. add interfaces to /interfaces folder
  3. write deploy function in core/index.js
  4. create an example interface to the sdk in scripts/deploy{YOUR_CONTRACT_NAME}.ts
  5. test by running npx hardhat run scripts/{YOUR_CONTRACT_NAME}.ts --network optimism_testnet

Verifying

  • npx hardhat verify {CONTRACT_ADDRESS} --network {NETWORK}
  • find full list of supported networks in hardhat.config.js
The Box enables one-click transactions using any token on any chain. Leveraging a set of hooks and embeddable React components, developers can select which action type they would like to perform (discussed further in key concepts), and The Box takes care of the rest. It abstracts bridging and swapping to provide users a seamless transaction experience regardless of where they store their funds, allowing dapps to meet users at their point of liquidity.
AggregatorInterface.sol
AggregatorV2V3Interface.sol
AggregatorV3Interface.sol
AccessControl.sol
IAccessControl.sol
Ownable.sol
IERC2981.sol
Clones.sol
Initializable.sol
ReentrancyGuard.sol
ERC20.sol
IERC20Metadata.sol
IERC20.sol
ERC721.sol
IERC721Metadata.sol
IERC721.sol
IERC721Receiver.sol
Address.sol
Base64.sol
Context.sol
MerkleProof.sol
ERC165.sol
IERC165.sol
Math.sol
Strings.sol
EnumerableSet.sol
DCNT4907A.sol
DCNT721A.sol
DCNTCrescendo.sol
DCNTMetadataRenderer.sol
DCNTRegistry.sol
DCNTRentalMarket.sol
DCNTSDK.sol
DCNTSeries.sol
DCNTStaking.sol
DCNTVault.sol
DCNTVaultNFT.sol
ERC4907A.sol
ERC721A.sol
ERC1155Hooks.sol
FeeManager.sol
IBondingCurve.sol
IDCNTRegistry.sol
IDCNTSDK.sol
IDCNTSeries.sol
IFeeManager.sol
IMetadataRenderer.sol
IOnChainMetadata.sol
ISharedNFTLogic.sol
ITokenWithBalance.sol
MockERC20.sol
MockERC721.sol
MockV3Aggregator.sol
ISplitMain.sol
ReverseRecords.sol
Clones.sol
SplitMain.sol
SplitWallet.sol
CrescendoConfig.sol
DCNT721AStorage.sol
EditionConfig.sol
MetadataConfig.sol
TokenGateConfig.sol
Credits.sol
MetadataRenderAdminCheck.sol
MusicMetadata.sol
OperatorFilterer.sol
Pausable.sol
SharedNFTLogic.sol
Splits.sol
Version.sol
ZKEdition.sol
IERC4907A.sol
IERC721A.sol
IOperatorFilterRegistry.sol
ERC1155.sol
ERC20.sol
SafeTransferLib.sol