Vue.js environment for development and testing purposes
You can replace yarn
with npm run
here.
# install deps
yarn install
# build for production
yarn build
# development mode
yarn dev
# run unit tests
yarn test
# serve the bundled dist folder in production mode
yarn serve
- Connect your account using Metamask
- Open browser console
- Get the DSA object instance by
const dsa = document.querySelector('#app').__vue__.$dsa
You should be able now to run dsa methods e.g.
dsa.build(console.log)