mirror of
https://github.com/tornadocash/trusted-setup-server.git
synced 2024-11-24 19:05:30 +01:00
11 lines
237 B
JavaScript
11 lines
237 B
JavaScript
|
import init, { contribute } from '@/lib/phase2/phase2.js'
|
||
|
|
||
|
export default ({ store, isHMR, app }, inject) => {
|
||
|
inject('contribute', main)
|
||
|
}
|
||
|
async function main() {
|
||
|
const initPromise = init()
|
||
|
await initPromise
|
||
|
return contribute
|
||
|
}
|