Comments (4)
It looks like the ExampleToken contract is not importing the Metadata views contracts correctly because they probably aren't deployed to the emulator by default. You'll need to deploy those first and then import them from the ExampleToken contract before deploying. Does that make sense?
from flow-ft.
@joshuahannan it does make sense, however, i'd like to know how do i define the order of contracts to deploy in flow.json
?
from flow-ft.
https://developers.flow.com/tools/flow-cli/deploy-project-contracts#dependency-resolution
It looks like it should deploy them in the correct order based on dependencies regardless of what order you have them in.
Have you tried flow project deploy
?
from flow-ft.
I will try this and update you, thanks
from flow-ft.
Related Issues (20)
- Adequate comments to docgen tool and include generated docs in repo
- Problems with Switchboard HOT 6
- feat: Allow public Switchboard to be used as FT Receiver HOT 2
- FungibleTokenSwitchboard is not interoperable with TokenForwarding HOT 3
- Check PrivateForwarder transactions and tests HOT 1
- Add Practical Token Setup and Transfer transactions that utilize switchboard HOT 3
- safeDeposit and addNewVaultsByPath methods on switchboard are not entirely panic free HOT 6
- Make TokenForwarder and Switchboard target capabilities retrievable
- Update contract import schema HOT 1
- [DOCS] Add documentation for FungibleTokenMetadataViews HOT 2
- Flow CLI: Transaction Error [Error Code: 1101] pre-condition failed: Cannot deposit an incompatible token type HOT 2
- Put assertions and post-conditions in the generic transactions
- Add FT Metadata Views to Example Token contract
- DOCS: Update FT documentation to include Metadata Views including examples
- Incorrect attribute when emitting `VaultCapabilityAdded` in FungibleTokenSwitchboard
- Update flow-ft contracts to comply with Stable Cadence changes
- cannot borrowViewResolver for some NFT HOT 2
- Normalize flow.json
- Refactor utilityContracts folder into utility folder
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 flow-ft.