8000 GitHub - 0xJoichiro/assets: A Motoko library for managing assets
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

0xJoichiro/assets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Motoko Assets Library

This library provides your canister with the logic required to manage assets according to the asset canister interface used by dfx and @dfinity/assets.

This library is set up to be used with mops. Be sure to edit mops.toml, dfx.json, and package.json to match your project as needed.

Usage

The process to set up your canister is fairly involved. Start copying all the logic in the test/e2e/test.mo interface. You will need to import assets from

mops add assets

Testing

To run the unit tests, run npm run test.

To run the e2e tests, deploy the test canister with dfx deploy test and run npm run test:e2e.

This project also includes a GitHub Actions workflow that runs the unit tests on every push.

About

A Motoko library for managing assets

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Motoko 93.5%
  • JavaScript 5.7%
  • HTML 0.8%
0