Craftware Docs
  • What is Craftware?
    • Game Samples using Craftware
  • ❗Getting Started
  • SDKs
    • Unity3D SDK Guide
    • Golang SDK Guide
  • Blockchain Elements
    • Smart Contracts
    • ICraftableIn Library
  • 🎮Game Content
    • Game Assets
      • Resources
        • Create a resource
        • Retrieve Resources in Game
      • Currencies
      • Items
      • Properties
      • Export Assets Data
      • Import Assets Data
    • Crafting
      • Crafting Rule
  • 🤝Onchain Interoperability
    • Authentication
      • Wallet Binding
      • Wallet Session Authentication
      • Setting Up Wallet Authentication
    • Ports Protocol
      • Export Protocol
      • Import Protocol
    • Backward Compatibility
    • Crafting Protocol
      • Craftable Token
        • Definition Metadata
        • Craftable Input Token
        • Craftable Output Token
      • Crafting Rule Contract
        • Definition Metadata
      • Crafting Rule No-code Designer
  • ⚙️Admin
    • Account Settings
      • Account
      • Users
      • API Keys
      • Plan
      • Config
    • Security
    • Terms of Service
    • Privacy Policy
Powered by GitBook
On this page
  • Select Input Contracts
  • Select Output Contracts
  • Create Mapping Rule
  • Preview your Solidity code
  • Review and Deploy

Was this helpful?

  1. Onchain Interoperability
  2. Crafting Protocol

Crafting Rule No-code Designer

A Tool to help Game Designers who don't want to be stuck writing more smart contracts to easily collaborate on creating Crafting Rules quickly.

PreviousDefinition MetadataNextAccount Settings

Last updated 1 year ago

Was this helpful?

Select Input Contracts

From the Select Input Contracts step, select the address of the input contract:

Input Contracts must use the Library ICraftableIn in order to capture the schema of the tokens properties. For more details, please visit the ICraftableIn Library page.

Select Output Contracts

From the Select Output Contracts step, select the address of the output contract:

Create Mapping Rule

Create the Crafting Rule by selecting the list of Input Contracts and that of Output Contracts. In order to create output properties according to the properties of the input, use the Mapping Rule buttons:

For convenient viewing, you can collapse and expand the code preview shown on the right hand-side of the screen.

Preview your Solidity code

In the Create Rule Step, the right-hand side of the screen will provide you with a preview of the solidity code that will be deployed to the blockchain.

Review and Deploy

In the Review and Deploy step, click submit. A loader will appear as the contracts are deployed. Once complete, you will receive a confirmation notification.

🤝