File tree 3 files changed +9
-9
lines changed
tokens/create-token/poseidon/create_tokens
3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 2
2
// single deploy script that's invoked from the CLI, injecting a provider
3
3
// configured from the workspace's Anchor.toml.
4
4
5
- const anchor = require ( " @coral-xyz/anchor" ) ;
5
+ const anchor = require ( ' @coral-xyz/anchor' ) ;
6
6
7
- module . exports = async function ( provider ) {
7
+ module . exports = async ( provider ) => {
8
8
// Configure client to use the provider.
9
9
anchor . setProvider ( provider ) ;
10
10
Original file line number Diff line number Diff line change 1
1
{
2
- "license" : " ISC" ,
2
+ "license" : " ISC" ,
3
3
"scripts" : {
4
4
"lint:fix" : " prettier */*.js \" */**/*{.js,.ts}\" -w" ,
5
5
"lint" : " prettier */*.js \" */**/*{.js,.ts}\" --check"
Original file line number Diff line number Diff line change 1
- import * as anchor from " @coral-xyz/anchor" ;
2
- import { Program } from " @coral-xyz/anchor" ;
3
- import { CreateTokens } from " ../target/types/create_tokens" ;
1
+ import * as anchor from ' @coral-xyz/anchor' ;
2
+ import { Program } from ' @coral-xyz/anchor' ;
3
+ import { CreateTokens } from ' ../target/types/create_tokens' ;
4
4
5
- describe ( " create_tokens" , ( ) => {
5
+ describe ( ' create_tokens' , ( ) => {
6
6
// Configure the client to use the local cluster.
7
7
anchor . setProvider ( anchor . AnchorProvider . env ( ) ) ;
8
8
9
9
const program = anchor . workspace . CreateTokens as Program < CreateTokens > ;
10
10
11
- it ( " Is initialized!" , async ( ) => {
11
+ it ( ' Is initialized!' , async ( ) => {
12
12
// Add your test here.
13
13
const tx = await program . methods . initialize ( ) . rpc ( ) ;
14
- console . log ( " Your transaction signature" , tx ) ;
14
+ console . log ( ' Your transaction signature' , tx ) ;
15
15
} ) ;
16
16
} ) ;
You can’t perform that action at this time.
0 commit comments