Comments (6)
Priority
- Relations between Conduit, ConduitController, SharedStorefrontLazyMintAdapter
- Functionality of AssetContractShared
from boa-space-contracts.
Use Miro when documenting.
from boa-space-contracts.
You can check the relations Seaport, SharedStorefrontLazyMintAdapter, and AssetContractShared contracts here.
from boa-space-contracts.
From ProjectOpenSea/seaport#580, we found out that a default Conduit contract is used in the OpenSea, whose address is 0x1E0049783F008A0085193E00003D00cd54003c71.
from boa-space-contracts.
The summarized information is here, here, and here in our Miro page.
The important thing is as follows, which is the steps for making our conduit.
- Create a Conduit with our deployer's address
const conduitKeyOne = `${owner.address}000000000000000000000000`
await conduitController.createConduit(conduitKeyOne, owner.address);
- New Conduit contract is deployed for the new key through
ConduitController::createConduit
function createConduit(bytes32 conduitKey, address initialOwner)
returns (address conduit) {
...
// Derive address from deployer, conduit key and creation code hash.
conduit = address(
uint160(
uint256(
keccak256(
abi.encodePacked(
bytes1(0xff),
address(this),
conduitKey,
_CONDUIT_CREATION_CODE_HASH
)
)
)
)
);
// Deploy the conduit via CREATE2 using the conduit key as the salt.
new Conduit{ salt: conduitKey }();
}
- The returned address named
conduit
in the previous code will be used as a default conduit. The address of the newly deployedConduit
can be calculated with the conduit key. - We should add a user' address as
channel
to the conduit by callingupdateChannel
, which should be called only once for a user. - The
conduit
ends up having a role as an operator for all the NFTs of the user.
from boa-space-contracts.
Closing this issue because we found out almost all the necessary things about Conduit and prepared how to use it in our project. Later @she110ff will decide whether to use the Conduit or not. I will go forward with issue #19 with the assumption that we will use a default conduit in our project.
@she110ff If you want more things about this issue, please let me know about it.
from boa-space-contracts.
Related Issues (18)
- Deploy FINPL NFT for test HOT 2
- Deploy SharedStorefrontLazyMintAdapter contract
- Mint FINPL NFT to @Evan for implement 'import NFT' on test network HOT 2
- FINPL NFT : How to Mint the NFT by manual HOT 5
- Ownership transfer with `batchMint` or `safeBatchTransferFrom` HOT 1
- Set data URI with a SharedProxy account HOT 3
- Script executing `safeTransferFrom` through `LazyMintAdapter` from `fulfillOrder` of Seaport HOT 3
- Change the way we batch-mint FINPL NFTs HOT 1
- Fulfill an order through `AssetContractShared` from `Seaport` HOT 1
- Remove package-lock.json
- Research the components relating to an order including `Zone` HOT 2
- QUANTITY_EXCEEDS_TOKEN_SUPPLY_CAP Error HOT 4
- Analyze and implement `PayableProxy` contract HOT 1
- Deploy and mint a AssetContractShared NFT to the Mainnet HOT 2
- Method to set SEAPORT and CONDUIT in SharedStorefrontLazyMintAdapter HOT 1
- The reason why the `cancel` call is needed HOT 2
- PayableProxy의 BOA 인출 기능에 대한 고려 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boa-space-contracts.