Skip to content

lukema95/bodhi-trade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trade Contract

Overview

The Trade contract is designed for trading ERC1155 assets on the Bodhi platform. It enables application developers to build applications on top of Bodhi and set application-specific fees (app fees). This smart contract is developed using Solidity and is compatible with Solidity version 0.8.18.

Security

This contract is currently in development and has not yet undergone rigorous security audits. It is crucial to ensure that there are no vulnerabilities that could be exploited. We strongly advise against using this contract for trading real assets until it has been thoroughly tested and audited by security professionals.

Optimism Sepolia Test Contract Addresses

Contract Address
Bodhi 0xD4B4386a3632D406E3b8c4EC38486f83E8f8D889
Trade 0x1a079cE9D7d6DdeE6774293380Fdd0b2953F7Dd8

Usage

Build

$ forge build

Test

$ forge test

Format

$ forge fmt

Gas Snapshots

$ forge snapshot

Anvil

$ anvil

Deploy

$ forge script script/Counter.s.sol:CounterScript --rpc-url <your_rpc_url> --private-key <your_private_key>

Cast

$ cast <subcommand>

Help

$ forge --help
$ anvil --help
$ cast --help

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published